Jump to content

Any way to get the OK button off a MSGBox


Recommended Posts

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.

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...