Guest lifefadedmemory@hotmail.com Posted February 27, 2004 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
enko Posted March 25, 2004 Posted March 25, 2004 how else can you do this without bringing up a window?
Beastmaster Posted March 25, 2004 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
Beastmaster Posted March 26, 2004 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
ezzetabi Posted March 26, 2004 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
Developers Jos Posted March 26, 2004 Developers 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.
ezzetabi Posted March 26, 2004 Posted March 26, 2004 I thought a second .aut script that is called bye a hotkey using windows hotkey system...
Guest rathore Posted March 26, 2004 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!
Beastmaster Posted March 26, 2004 Posted March 26, 2004 Hey rathore, what it needs to get a link to this marvelous tool ?
Guest rathore Posted March 27, 2004 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.
Developers Jos Posted March 27, 2004 Developers 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.
Recommended Posts