jtaft Posted March 5, 2014 Share Posted March 5, 2014 Hello this is my forst post and although I have written many basic scripts I am trying to write this one that is a bit more advanced. What I have is a form with a drop down menu. What I am trying to do is based on the selection I want a certain action to happen. In this case I am trying to Link "Proxy 1" to a function and when it is selected it makes some registry edits and displays a message to close the browser. I plan to then expand this with several other options. Also when the button is selcted and the function has finished I want the box to close. WS_Stop.au3 Link to comment Share on other sites More sharing options...
Solution LongBowNZ Posted March 5, 2014 Solution Share Posted March 5, 2014 $Combo1 holds the control id of the combo box. You need to use GUICtrlRead() to get the current selected value. If GUICtrlRead($Combo1) = "Load Proxy 1" Link to comment Share on other sites More sharing options...
jtaft Posted March 5, 2014 Author Share Posted March 5, 2014 Thank you so much for the reply!!! I was looking at that but wasn't sure how to put it together! So makes me feel good I was on the right track. With every Script my knowledge geta stronger and stronger and I owe all the credit to this forum!!! Link to comment Share on other sites More sharing options...
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