Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
one keyboard shortcut triggers for various macros
#2
Function launch_one_of_six_macros
Code:
Copy      Help
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
Create this function and assign the trigger. First time it launches Macro1, then Macro2...Macro6, Macro1...

Or use single macro, not 6:

Macro Macro2815
Code:
Copy      Help
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"
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)