speedi Posted January 12, 2009 Share Posted January 12, 2009 So I wrote this script and forgot one thing... The count never changes, so it goes on forever... How can it be stopped without rebooting the system.. Can't move the mouse to the taskbar... Thanks! script follows.... Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("RCN Webmail Mailbox - Inbox - Mozilla Firefox","") If Not WinActive("RCN Webmail Mailbox - Inbox - Mozilla Firefox","") Then WinActivate("RCN Webmail Mailbox - Inbox - Mozilla Firefox","") WinWaitActive("RCN Webmail Mailbox - Inbox - Mozilla Firefox","") $i = 0 do MouseMove(704,322) MouseDown("left") MouseUp("left") MouseMove(458,343) MouseDown("left") MouseUp("left") MouseMove(708,320) MouseDown("left") MouseUp("left") MouseMove(469,342) MouseDown("left") MouseUp("left") Until $i = 30 Link to comment Share on other sites More sharing options...
Pain Posted January 12, 2009 Share Posted January 12, 2009 HotkeySet? Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 12, 2009 Share Posted January 12, 2009 So I wrote this script and forgot one thing... The count never changes, so it goes on forever... How can it be stopped without rebooting the system.. Can't move the mouse to the taskbar... Thanks! HotKeySet("{ESC}", "_Quit") ; ... the rest of the script Func _Quit() Exit EndFunc Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 12, 2009 Share Posted January 12, 2009 alt F4 Giggity Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 12, 2009 Share Posted January 12, 2009 alt F4That would close the active window (Firefox) and leave the script running... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 12, 2009 Share Posted January 12, 2009 True... didn't really look at his script ctrl alt del. End process. Giggity Link to comment Share on other sites More sharing options...
speedi Posted January 12, 2009 Author Share Posted January 12, 2009 alt F4tried that and it closed the active window but did not stop the script.... Link to comment Share on other sites More sharing options...
speedi Posted January 12, 2009 Author Share Posted January 12, 2009 True... didn't really look at his script ctrl alt del. End process.tried that... since the mouse is moving continuesly, I could not select the task and click it.... Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 12, 2009 Share Posted January 12, 2009 navigate with tab, arrows, ctrl + tab Giggity Link to comment Share on other sites More sharing options...
Pain Posted January 12, 2009 Share Posted January 12, 2009 You make it harder than it has to be? He already been told to use HotkeySet. Link to comment Share on other sites More sharing options...
speedi Posted January 12, 2009 Author Share Posted January 12, 2009 You make it harder than it has to be? He already been told to use HotkeySet.Yes I understand that now and I thank you.... The point was what if I forgot to put the hotkeyset in there.... Link to comment Share on other sites More sharing options...
speedi Posted January 12, 2009 Author Share Posted January 12, 2009 navigate with tab, arrows, ctrl + tabthanks! I was trying to figure out how to do it with the keyboard, but didn't quite make it work. Now I know how!!! Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 12, 2009 Share Posted January 12, 2009 Yea, I've had to use it without a mouse before so I knew it was possible. had to test to remember how to change tabs Giggity Link to comment Share on other sites More sharing options...
FireFox Posted January 12, 2009 Share Posted January 12, 2009 @speedi $wgp = WinGetProcess("[ACTIVE]") ProcessClose($wgp)oÝ÷ ØêÚºÚ"µÍÌÍÝÙÜHÚ[Ù]ØÙÜÊ ][ÝÉ][ÝÊBØÙÜÐÛÜÙJ ÌÍÝÙÜ Cheers, FireFox. 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