Welsh Posted October 10, 2005 Posted October 10, 2005 Yet again another question but hey im learing. I got a GUI interface where the user enters: name, password, etc. Now as soon as u open the au3 the interace comes up and you enter the info. how do i set the button to that you when click it, it continues on with the rest of the script? [center].: If I Ask A Question, Thanks For The Help! :.[/center][center].: Welsh :.[/center]
Welsh Posted October 10, 2005 Author Posted October 10, 2005 need to see the script to help you8)well the script is a jumble and in parts right now.... Is there coding that pauses the script untill the button is pushed? Like right now im keeping my gui interace open with:GuiSetState() While GuiGetMsg() <> $GUI_EVENT_CLOSE WEndi know what i want to do but im having trouble finding the exact words. [center].: If I Ask A Question, Thanks For The Help! :.[/center][center].: Welsh :.[/center]
Valuater Posted October 10, 2005 Posted October 10, 2005 (edited) GuiSetState() While $msg <> $GUI_EVENT_CLOSE $msg = GuiGetMsg() If $msg = $Button_1 then ; do somethng Endif WEnd 8) Edited October 10, 2005 by Valuater
B3TA_SCR1PT3R Posted October 10, 2005 Posted October 10, 2005 something like: While 1 $msg = GuiGetMsg() Switch $msg Case $button_1 ;rest of skript Case Else Sleep(100) EndSwitch WEnd ? [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]
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