10-30-2006, 07:11 PM
It stops only function started from that toolbar.
Toolbar:
Start Func: mac "FuncName" "" GetWindow(TriggerWindow GW_OWNER)
Stop Func :SetProp(GetWindow(TriggerWindow GW_OWNER) "running" 0)
Function:
function w1
SetProp(w1 "running" 1)
rep
if(!GetProp(w1 "running")) end
key "55"
wait 3
Toolbar:
Start Func: mac "FuncName" "" GetWindow(TriggerWindow GW_OWNER)
Stop Func :SetProp(GetWindow(TriggerWindow GW_OWNER) "running" 0)
Function:
function w1
SetProp(w1 "running" 1)
rep
if(!GetProp(w1 "running")) end
key "55"
wait 3
