Guest lifefadedmemory@hotmail.com Posted February 27, 2004 Share Posted February 27, 2004 I wrote a program that just keeps clicking on different windows. I have it in repeat mode the script is as follow Sleep, 10000 Repeat, 10000 LeftClick, x, y LeftClick, x, y LeftClick, x, y LeftClick, x, y EndRepeat I took out the coorinates just. How can i get this to stop on command. I Try to run it all night but if I run it too long and I wake up I can't stop the program and must restart my computer. Is their a way to place a keycommand in their to shut down the program? Is their another way? Any information anyone could provide would be most helpful. Thanks in advance. ~Andrew Link to comment Share on other sites More sharing options...
enko Posted March 25, 2004 Share Posted March 25, 2004 how else can you do this without bringing up a window? Link to comment Share on other sites More sharing options...
Beastmaster Posted March 25, 2004 Share Posted March 25, 2004 What about to use a desktop shortcut (with an assigned shortcut key), to run a batch, which creates a stop file ?Stop.batTime /T > C:\\Stop.notSleep, 10000Repeat, 10000LeftClick, x, yLeftClick, x, yLeftClick, x, yLeftClick, x, yIfExist, C:\\Stop.not, Goto, StopEndRepeatStop:Run, %COMSPEC% /C del C:\\Stop.not, , HideExit Link to comment Share on other sites More sharing options...
enko Posted March 25, 2004 Share Posted March 25, 2004 Anyway to do this without closing the application Link to comment Share on other sites More sharing options...
Beastmaster Posted March 26, 2004 Share Posted March 26, 2004 Start:Sleep, 10000Repeat, 10000LeftClick, x, yLeftClick, x, yLeftClick, x, yLeftClick, x, yIfExist, C:\\Stop.not, Goto, StopEndRepeatStop:Sleep, 1000IfExist, C:\\Stop.not, Goto, StopGoto, StartDelete the file Stop.not and the script will loop back Link to comment Share on other sites More sharing options...
ezzetabi Posted March 26, 2004 Share Posted March 26, 2004 Or, with the help of the pstools you make a hot key commanded script that fires a pskill autoit a little brutal, but it should work... Yeah, I know the Beastmaster idea is better Link to comment Share on other sites More sharing options...
Developers Jos Posted March 26, 2004 Developers Share Posted March 26, 2004 Or, with the help of the pstools you make a hot key commanded script that fires aHotKey command ??? version 2 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ezzetabi Posted March 26, 2004 Share Posted March 26, 2004 I thought a second .aut script that is called bye a hotkey using windows hotkey system... Link to comment Share on other sites More sharing options...
Guest rathore Posted March 26, 2004 Share Posted March 26, 2004 how about pausing the process? (i've a command line utility that can pause any process, and can resume it with /r parameter) i guess only nt based OS support process pausing! Link to comment Share on other sites More sharing options...
Beastmaster Posted March 26, 2004 Share Posted March 26, 2004 Hey rathore, what it needs to get a link to this marvelous tool ? Link to comment Share on other sites More sharing options...
Guest rathore Posted March 27, 2004 Share Posted March 27, 2004 here's the link: http://www.angelfire.com/~tv2/dis/pausep.zipeven I don't know where I got it, the link points to my web storage.I'd have given credit had I knew whom should I give it to. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 27, 2004 Developers Share Posted March 27, 2004 Its probably downloaded from here: http://www.codeproject.com/threads/pausep.asp SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Guest rathore Posted March 27, 2004 Share Posted March 27, 2004 YES! that's it! Link to comment Share on other sites More sharing options...
Recommended Posts