lightning30 Posted January 23, 2007 Share Posted January 23, 2007 I am looking for a script that will continue to do the script i have made until i press a button to tell it to stop, is there a script ive tried a lot of different things then i get errors in the scripts. Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 mayby this will help i have this so far CODEMouseClick("left", 87, 755) MouseClick("right", 676, 502) MouseClick("left", 728, 618) MouseClick("left", 1015, 715,30) MouseClick("left", 177, 656) MouseClick("left", 49, 344) it just deletes my email from my spam box and blocks the emails i want to run it for a little each day so i can hopfully stop getting so many emails, is there a way to put repeat script at the bottom of that? i want it to repeat until i click a button to stop it Link to comment Share on other sites More sharing options...
xcal Posted January 23, 2007 Share Posted January 23, 2007 Look at the HotKeySet example in the help file. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Uten Posted January 23, 2007 Share Posted January 23, 2007 I am looking for a script that will continue to do the script i have made until i press a button to tell it to stop, is there a script ive tried a lot of different things then i get errors in the scripts.Post your script or a sample script and you will probably get better response (as in how to do it)Global $gQuit=false do ;Do you script until $gQuit Func StopLoop() $gQuit = True EndFunc Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 ok it gives me this HotKeySet ( "key" [, "function"] ) what would i change that to if i wanted to to repeat and stop when i press F11? HotKeySet ( "F11" [, "repeat"] ) HotKeySet ( "F12" [, "stop"] ) ? Link to comment Share on other sites More sharing options...
xcal Posted January 23, 2007 Share Posted January 23, 2007 I meant the example at the bottom, not the syntax part. (It's essentially the same idea as what Uten has - so look at his example.) How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 no when i use that i still get an error Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 Post your script or a sample script and you will probably get better response (as in how to do it)Global $gQuit=false do ;Do you script until $gQuit Func StopLoop() $gQuit = True EndFunci dont get an error when i use that but how would i made that replay ? it just stops but no error Link to comment Share on other sites More sharing options...
_Kurt Posted January 23, 2007 Share Posted January 23, 2007 Try this: Dim $Hotkey HotKeySet("{F10}","Start") Func Start() $Hotkey = NOT $Hotkey If $Hotkey Then ToolTip('Hotkey was pressed',0,0) While $Hotkey ;Do whatever you want here WEnd ToolTip("") EndFuncoÝ÷ Ù8Z¶ÈhºWp¢¹~ØZ¶+'ßÛp«r¢íýéh¢H§ú+¶§¥êáj"¶+-+ºÚ"µÍ×ÜÝ HÚ[Ý[ÝØÜ]]Ü[X][ÈÜÝ BYÛÛ[YHH[[[QÙ]ÚÜ[YJØÜ[] JB[ÙB[[QÙ]ÚÜ[YJ]]Ò]^JH [È ][ÝÈ ][ÝÈ [È[QÙ]ÚÜ[YJØÜ[] JB[Y^][[ Hope that works, Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 Try this:Dim $Hotkey HotKeySet("{F10}","Start") Func Start() $Hotkey = NOT $Hotkey If $Hotkey Then ToolTip('Hotkey was pressed',0,0) While $Hotkey ;Do whatever you want here WEnd ToolTip("") EndFuncoÝ÷ Ù8Z¶ÈhºWp¢¹~ØZ¶+'ßÛp«r¢íýéh¢H§ú+¶§¥êáj"¶+-+ºÚ"µÍ×ÜÝ HÚ[Ý[ÝØÜ]]Ü[X][ÈÜÝ BYÛÛ[YHH[[[QÙ]ÚÜ[YJØÜ[] JB[ÙB[[QÙ]ÚÜ[YJ]]Ò]^JH [È ][ÝÈ ][ÝÈ [È[QÙ]ÚÜ[YJØÜ[] JB[Y^][[Hope that works,Kurtim looking for something that will just restart the script over and over until i press a button and neither of those restarted unless i was supposed to change something in the script? Link to comment Share on other sites More sharing options...
lightning30 Posted January 23, 2007 Author Share Posted January 23, 2007 can anyone get one of those 2 that were given to me to work please? Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 23, 2007 Share Posted January 23, 2007 Gay noob, why you block me on msn huh noob? Guys i prefer you dont help him, hes trying to steal an idea of mine that i created and nows trying to get free scripts so he has it as well... do not help him, lighting, your gay, your making this for a text based game, no one help him i request, he will just abuse the free scripts... Link to comment Share on other sites More sharing options...
McGod Posted January 23, 2007 Share Posted January 23, 2007 Dim $Hotkey HotKeySet("{F10}","Start") Func Start() $Hotkey = NOT $Hotkey If $Hotkey Then ToolTip('Hotkey was pressed',0,0) While $Hotkey MouseClick("left", 87, 755) MouseClick("right", 676, 502) MouseClick("left", 728, 618) MouseClick("left", 1015, 715,30) MouseClick("left", 177, 656) MouseClick("left", 49, 344) WEnd ToolTip("") EndFunc Doesn't get any simplier then that So its for a game? [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now