02-29-2024, 04:07 PM
Macro Macro3400
With the /exe the macro will run in separate process.
;/exe
int w=win("Untitled - Paint" "MSPaintApp")
int th1=mac("sub.Thread1" "" w)
int th2=mac("sub.Thread2" "" w)
wait 0 HMA th1 th2
#sub Thread1
function w
rep
,wait 0 C 0x000000 490 919 w 1
,out "color 1"
,wait 0.1
,;key " "
#sub Thread2
function w
rep
,wait 0 C 0xCB53B4 920 1017 w 1
,out "color 2"
,wait 0.3
,;key "d"
With the /exe the macro will run in separate process.