03-22-2010, 05:35 PM
Now I cannot say why it happens. Try to handle the error with err.
For example:
Macro Macro1302
(replace act w2 with this code)
It tries to activate many times. If after 5 s still cannot activate, ends macro.
For example:
Macro Macro1302
,int k
,for k 0 1000000
,,act w2
,,err
,,,if(k<50) ;;5 s
,,,,wait 0.1
,,,else
,,,,OnScreenDisplay _error.description 5 0 0 "" 0 0xFF
,,,,ret(replace act w2 with this code)
It tries to activate many times. If after 5 s still cannot activate, ends macro.
