macros - Autohotkey Mouse Click Every 45 Minutes -
i'm trying make autohotkey click screen region, every 45 minutes. i've come this, seems not respond correctly.
can offer suggestions?
loop,99 { mouseclick, left, 392, 735 sleep 2700000 } return
when doesn't respond correctly, can more specific? loop not working, timer giving issues or mouseclick not working. in browsers, i've noticed might need play around mouseclicking (there various ways simulate mouseclick [up sending raw code] , there timers set click time).
if want loop indeed run 99 times, might need add counter in example, objective cab done settimer command.
settimer, mymouseclick, 2700000 ; run every 2700 seconds return mymouseclick: mouseclick, left, 392, 735 return
alternative 99 limit.
mycounter := 0 settimer, mymouseclick, 2700000 ; run every 2700 seconds return mymouseclick: mycounter++ mouseclick, left, 392, 735 if (mycounter = 100) settimer, mymouseclick, off return
Comments
Post a Comment