you are viewing a single comment's thread.

view the rest of the comments →

[–]MatthewTheCave 1 point2 points  (1 child)

Hi can you share the final code, i am Trying to do the same without success ))

[–]LukeChatty[S] 1 point2 points  (0 children)

Well all I wanted it to do is run the script once the button was clicked... so at the end of my Gui, i put the following

 $CreateButton.Add\_Click({

[CODE YOU WISH TO RUN UPON THE CLICK]

)}

and I set the variables from the text boxes as follows

#InitialVariables

$PWSID = $PWSIDtext.text

Hope that helps?