Jump to content

Autoit-gui.101.11 Guishow() Bug?


abix
 Share

Recommended Posts

Why this do not work? The gui window closes immediately after script run.

GuiCreate ("My first AutoIt GUI")              ; start the definition

GuiSetControl ("label", "Please Enter ?", 10,10)  ; add prompt info

$nInput = GuiSetControl ("input", "", 10,30)      ; add the input area

$nOk    = GUISetControl ("button", "OK", 20,70) ; add the button that will close the dialog box

GuiShow ()

Link to comment
Share on other sites

Why this do not work? The gui window closes immediately after script run.

Gui always closed when the script terminated.

So You need to add a sleep or to way the closing of the Gui with GuiWaitClose.

GuiShow is aim to more advanced usage with GuiMsg

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