Sign in to follow this  
Followers 0
YpR^

Splashtext Question

3 posts in this topic

Well... i've made a splashtext screen... which sleep for some seconds.... is it possible to make a "skip-splash-screen"-button ? So u can skip the splash if u've read it before


Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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^

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  
Followers 0