Jump to content

Recommended Posts

Posted (edited)

Use $ES_PASSWORD style.

hi how i can close my gui ? but the script needs to go on if want to do if $var = "something" then close gui

because when the login is compleet the gui needs to close and do something else

if the login fails the gui needs to stay te retry the login

how do i fix that ?

i have another problem

when the gui runs and a msgbox appiers then the box is behind the gui and not in front of the gui how i can fix that ?

Edited by yucatan
Posted

because when the login is compleet the gui needs to close and do something else

if the login fails the gui needs to stay te retry the login

how do i fix that ?

Use GUICtrlDelete ( controlID ) to delete old GUI and after you can create another GUI or run some code without GUI.

Posted

when the gui runs and a msgbox appiers then the box is behind the gui and not in front of the gui how i can fix that ?

Use 262144 for MsgBox flag.

MsgBox has top-most attribute set

MsgBox(262144,"TEST","MESSAGE")
Posted

Use 262144 for MsgBox flag.

MsgBox has top-most attribute set

MsgBox(262144,"TEST","MESSAGE")

k the msgbox works thx

but i dont wanne delete the controls of the gui i wanne kill the whole gui window. just close it

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

Posted

k the msgbox works thx

but i dont wanne delete the controls of the gui i wanne kill the whole gui window. just close it

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

Sorry GUIDelete() to delete whole GUI.
Posted

Sorry GUIDelete() to delete whole GUI.

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

what can i do about this ?

Posted (edited)

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

what can i do about this ?

You cant set timeout for MsgBox. Look in help file. Edited by Andreik
Posted

You cant set timeout for MsgBox. Look in help file.

is there a command to say reset script just restart start on rule 1 just over?

Posted

Andreik, IMO you are way to patient. The OP is showing signs of not doing much to help himself... First lets let him find the helpfile, and search for his answers before spamming us with so many questions. I'm not against many questions or if this is how he/she learns, but the helpfile seems to be no existant on this person's computer.

Posted

muttley Bert

.. I started to wonder how someone having almost 250 posts has such a small knowledge base ... then every new post added a little bit of "light" ...

Bert; I couldn't say it better than you did :)

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

  • 10 years later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...