Jump to content

Splashtext Question


YpR^
 Share

Recommended Posts

How about a hotkey that would trigger the end of a loop that waits?

Global $continue

SplashTextOn("SplashText", "Some text, blah blah blah." & @LF&_
 "Press alt-q to skip this screen")
HotKeySet("!q", "NoWait")

For $continue = 0 To 15
  Sleep(1000)
Next
SplashOff()
HotKey("!q");remove the hotkey.

MsgBox(0, "Rest of script", "The rest of your script code would go here.")

Func NoWait()
  $continue = 16
EndFunc

Just so you know, $continue needs to be global so that NoWait() has access to that variable.

Edited by pekster

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
Share on other sites

Global $continue

SplashTextOn("SplashText", "Some text, blah blah blah." & @LF&_

"Press alt-q to skip this screen")

HotKeySet("!q", "NoWait")

For $continue = 0 To 15

Sleep(1000)

Next

SplashOff()

HotKey("!q");remove the hotkey. <---- i get UNKNOWN function here

MsgBox(0, "Rest of script", "The rest of your script code would go here.")

Func NoWait()

$continue = 16

EndFunc

/Edit.. never mind.. i've corrected it :ph34r:

Edited by YpR^
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...