Jump to content

Recommended Posts

Posted

SplashTextOn("Configure", "Please load program and go to the main screen. When you are there, press F1", -1, -1, -1, -1, 4, "", 5)

HotKeySet("+a", "First")  ;Shift+a

Func First()

SplashOff ( )

$First = PixelGetColor( 10 , 100 )

endfunc

I want to do a pixel check once the user hits Shift+a. But, when I run this script, it just exits real fast. How can I make the script wait for the user to press Shift+a?

Posted

Doesn't work. If I press the hotkey, nothing happens.

Here is the script I am using....

SplashTextOn("Configure", "Please load program and go to the main screen. When you are there, press F1", -1, -1, -1, -1, 4, "", 5)

HotKeySet("+a", "First")  ;Shift+a

While 1;loop forever

sleep(100)

WEnd

Func First()

SplashOff ( )

msgbox (0, "h", "Hh")

;$First = PixelGetColor( 10 , 100 )

endfunc

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
×
×
  • Create New...