YpR^ 0 Posted August 14, 2004 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
pekster 0 Posted August 14, 2004 (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 August 14, 2004 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
YpR^ 0 Posted August 14, 2004 (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 Edited August 14, 2004 by YpR^ Share this post Link to post Share on other sites