Jump to content
Sign in to follow this  
t0ddie

unwanted pause?

Recommended Posts

t0ddie

i run this and it works but not on my friends computer.. it pauses the script automatically.

i even hid the icon but the hotkey does nothing for him.

Opt ('WinTitleMatchMode', 4)
Opt ("PixelCoordMode", 2)
HotKeySet("z","yes")
#NoTrayIcon
Do

        sleep(100)

    $stoplog = PixelGetColor (1, 1)

        Until $stoplog = 263172 or $stoplog = 526344 or $stoplog = 1024
        MsgBox(0,"test","this part works")

        func yes()
        MsgBox(0,"test",$stoplog)
            EndFunc
Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites
PsaltyDS

Why set "WinTitleMatchMode", when you don't use any WinTitle's? Did you forget a WinActivate() or some such?

Also, read the help file for HotKeySet(). There are lots of conditions that might cause a HotKey to not get set. You might try an odder key like Alt-q, "{!q}".

:)


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

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  

×