05-24-2016, 03:55 AM
Function launch_one_of_six_macros
Create this function and assign the trigger. First time it launches Macro1, then Macro2...Macro6, Macro1...
Or use single macro, not 6:
Macro Macro2815
int+ g_iMacro
g_iMacro+1; if(g_iMacro=7) g_iMacro=1
str macro.getl("Macro1[]Macro2[]Macro3[]Macro4[]Macro5[]Macro6" g_iMacro-1)
mac macro
Or use single macro, not 6:
Macro Macro2815
int+ g_iMacro
g_iMacro+1; if(g_iMacro=7) g_iMacro=1
sel g_iMacro
,case 1
,out "add Macro1 code here"
,
,case 2
,out "add Macro2 code here"
,
,case 3
,out "add Macro3 code here"
,
,case 4
,out "add Macro4 code here"
,
,case 5
,out "add Macro5 code here"
,
,case 6
,out "add Macro6 code here"
,