yucatan Posted July 5, 2008 Author Posted July 5, 2008 (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 guibecause when the login is compleet the gui needs to close and do something elseif the login fails the gui needs to stay te retry the loginhow do i fix that ?i have another problemwhen 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 July 5, 2008 by yucatan
Andreik Posted July 5, 2008 Posted July 5, 2008 because when the login is compleet the gui needs to close and do something elseif the login fails the gui needs to stay te retry the loginhow do i fix that ?Use GUICtrlDelete ( controlID ) to delete old GUI and after you can create another GUI or run some code without GUI.
Andreik Posted July 5, 2008 Posted July 5, 2008 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")
yucatan Posted July 5, 2008 Author Posted July 5, 2008 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
Andreik Posted July 5, 2008 Posted July 5, 2008 k the msgbox works thxbut i dont wanne delete the controls of the gui i wanne kill the whole gui window. just close itin 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 thenhe need to close this msgbox then MsgBox(262144,"TEST","MESSAGE")i use this nowHotKeySet("{enter}", "button")Func button()ControlClick("", "", "Button1")EndFuncSorry GUIDelete() to delete whole GUI.
yucatan Posted July 5, 2008 Author Posted July 5, 2008 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 thenhe need to close this msgbox thenMsgBox(262144,"TEST","MESSAGE")i use this nowHotKeySet("{enter}", "button")Func button()ControlClick("", "", "Button1")EndFuncwhat can i do about this ?
Andreik Posted July 5, 2008 Posted July 5, 2008 (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 thenhe need to close this msgbox thenMsgBox(262144,"TEST","MESSAGE")i use this nowHotKeySet("{enter}", "button")Func button()ControlClick("", "", "Button1")EndFuncwhat can i do about this ?You cant set timeout for MsgBox. Look in help file. Edited July 5, 2008 by Andreik
yucatan Posted July 6, 2008 Author Posted July 6, 2008 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?
BrettF Posted July 9, 2008 Posted July 9, 2008 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. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
enaiman Posted July 10, 2008 Posted July 10, 2008 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 :)
DesignFabricate Posted August 25, 2018 Posted August 25, 2018 I learned from Andreik's script, tried it, looked up the manual on the website, modified it, repeated for times, and made a working example which can be as a beginning tutorial:
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now