Jump to content
Sign in to follow this  
speedi

how to stop script

Recommended Posts

speedi

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

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites
youknowwho4eva

True... didn't really look at his script :) ctrl alt del. End process.


Giggity

Share this post


Link to post
Share on other sites
speedi

alt F4

tried that and it closed the active window but did not stop the script....

Share this post


Link to post
Share on other sites
speedi

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....

Share this post


Link to post
Share on other sites
youknowwho4eva

navigate with tab, arrows, ctrl + tab


Giggity

Share this post


Link to post
Share on other sites
Pain

You make it harder than it has to be? He already been told to use HotkeySet.

Share this post


Link to post
Share on other sites
speedi

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....

Share this post


Link to post
Share on other sites
speedi

navigate with tab, arrows, ctrl + tab

thanks! I was trying to figure out how to do it with the keyboard, but didn't quite make it work. Now I know how!!!

Share this post


Link to post
Share on other sites
youknowwho4eva

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

Share this post


Link to post
Share on other sites
FireFox

@speedi

$wgp = WinGetProcess("[ACTIVE]")
ProcessClose($wgp)oÝ÷ ØêÚºÚ"µÍÌÍÝÙÜHÚ[Ù]ØÙÜÊ    ][ÝÉ][ÝÊBØÙÜÐÛÜÙJ    ÌÍÝÙÜ

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×