Jump to content
Sign in to follow this  

need urgent help! GUI question : Input box

Recommended Posts


I need help, I have the follwoing lines:

while 1
$part4 = InputBox ("Strings","Please enter string to sent to magic")
$oInter=ObjCreate ("InterExe.Interface")

while pressing on the "X" button to close the "inputbox" messagebox it does not close it and terminate it. how can it be done? I try to look at the GUI but there is no reference to "inputbox". any idea?

Share this post

Link to post
Share on other sites


$part4 = InputBox("Strings", "Please enter string to sent to magic")

IF @error then ExitLoop

So long,


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post

Link to post
Share on other sites

I'm not sure what u need but check this example

$UserInput = "test"

While 1
$answer = InputBox("Info is Required", "Please Input Your Access code.", "", "*")
If @error = 1 Then
    MsgBox (-1,"test" , "you pressed Cancel"&@CRLF&"Now Exiting")
ElseIf $answer = $UserInput Then
    MsgBox (-1,"test","you typed test" & @crlf & "now Exiting",3)
ElseIf $answer <> $UserInput Then
    MsgBox (-1, "test", "you have entered the wrong password")


[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

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  

  • Create New...