Sign in to follow this  
Followers 0
dcjohnston

Any way to get the OK button off a MSGBox

3 posts in this topic

Dont want to use a splash screen. Gotta be a way. Thanks all.

Share this post


Link to post
Share on other sites



MSGBox have buttons, SplashText don't... This how it goes.

You have to make the message you want with GUI commands.

Share this post


Link to post
Share on other sites

You can make up your own GUI if you don't like the default ones AutoIt gives you.

$y= "Hi, I am some message"
$x="I am a bit more text, Hit F1 to run notepad"
GUICreate("Top box text") ; will create a dialog box that when displayed is centered
GUICreateEx("Notepad") ; will run notepad if F1 is typed
Opt("GUICoordMode",2)
GuiSetControl("label", $y,  10, 30, 500)   ; first cell 50 width
GuiSetControl("label", $x,  -1, 0)   ; next line
GUIShow()      ; will display an empty dialog box
GUIWaitClose()   ; wait dialog closing

AutoIt3, the MACGYVER Pocket Knife for computers.

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