Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro to Loop functions + change function with hotkey while also scanning for images
#2
Function Function16
Trigger SA4     Help - how to add the trigger to the macro
Code:
Copy      Help
shutdown -6 0 "Function14"
shutdown -6 0 "Function12"
shutdown -6 0 "Function13"
Function Function15
Code:
Copy      Help
int w=win("" "Chrome_WidgetWin_1")
rep
,if(scan("image:h1C59368C" w 0 1|2|16))
,,Function9
,if(scan("image:h1C59368C" w 0 1|2|16)) 
,,Function8
,if(scan("image:h1C59368C" w 0 1|2|16))
,,Function7
Function test2
Code:
Copy      Help
out "running Function13"
Function test
Code:
Copy      Help
out "running Function12"
Function test3
Code:
Copy      Help
out "running Function14"
Function Function13
Trigger SA2     Help - how to add the trigger to the macro
Code:
Copy      Help
shutdown -6 0 "Function14"
shutdown -6 0 "Function12"

rep 
,test2
Function Function14
Trigger SA3     Help - how to add the trigger to the macro
Code:
Copy      Help
shutdown -6 0 "Function12"
shutdown -6 0 "Function13"

rep 
,test3
Function Function12
Trigger SA1     Help - how to add the trigger to the macro
Code:
Copy      Help
shutdown -6 0 "Function14"
shutdown -6 0 "Function13"

rep 
,test


Messages In This Thread
RE: Macro to Loop functions + change function with hotkey while also scanning for images - by redbull2k - 07-25-2020, 10:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)