Sign in to follow this  
Followers 0
Welsh

Make A Button....

5 posts in this topic

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]

Share this post


Link to post
Share on other sites



need to see the script to help you

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

need to see the script to help you

8)

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
WEnd

i 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]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

GuiSetState()

While $msg <> $GUI_EVENT_CLOSE

$msg = GuiGetMsg()

If $msg = $Button_1 then

; do somethng

Endif

WEnd

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

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  
Followers 0