Pharon Posted October 22, 2004 Share Posted October 22, 2004 How do you make a text box that will just sit in the corner while your script runs? I need it so that while it's running you can know what all the hotkeys are, so it can't be an answerbox. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 22, 2004 Developers Share Posted October 22, 2004 How do you make a text box that will just sit in the corner while your script runs? I need it so that while it's running you can know what all the hotkeys are, so it can't be an answerbox.<{POST_SNAPBACK}>Check the helpfile for: SplashTextOn() SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Josbe Posted October 22, 2004 Share Posted October 22, 2004 You say like a SplashText? AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Pharon Posted October 22, 2004 Author Share Posted October 22, 2004 I just need something that will tell you what the hotkeys do, and stay open while the script is running. I tried the splash but it just flashed a lot. Link to comment Share on other sites More sharing options...
Josbe Posted October 22, 2004 Share Posted October 22, 2004 (edited) I tried the splash but it just flashed a lot.You can try the last example of SplashText (helpfile)...;; SMOOTH $message = "" SplashTextOn("TitleFoo", $message, -1, -1, -1, -1, 4, "") For $x = 1 to 20 $message = $message & $x & @LF ControlSetText("TitleFoo", "", "Static1", $message) sleep(100) NextFor update info to SplashText: ControlSetText EDIT: Quote Edited October 22, 2004 by josbe AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Josbe Posted October 22, 2004 Share Posted October 22, 2004 Small example: HotKeySet("^+a", "func1");CTRL+SHIFT+a HotKeySet("^+s", "func2");CTRL+SHIFT+s HotKeySet("^+x", "_quit");CTRL+SHIFT+x $splashTitle= "Hotkeys pressed" SplashTextOn($splashTitle, "none", 150, 50, 5, 5, 16) While 1 Wend Func func1() updateSplash("CTRL+SHIFT+a") ; your functions here EndFunc Func func2() updateSplash("CTRL+SHIFT+s") ; your functions here EndFunc Func _quit() SplashOff() MsgBox(0, "Exit", "") exit ; your functions here EndFunc Func updateSplash($hotkey) ControlSetText($splashTitle, "", "Static1", $hotkey) EndFunc AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
CyberSlug Posted October 22, 2004 Share Posted October 22, 2004 I just need something that will tell you what the hotkeys do, and stay open while the script is running. I tried the splash but it just flashed a lot.<{POST_SNAPBACK}>Are you constantly changing the text? One alternative is ToolTip(...)$text = "I really like" & @CRLF & "the multi-line" & @CRLF & "tooltips" ToolTip($text, 0, 0) While 1 sleep(100) WEnd Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now