mikelee33 Posted August 3, 2007 Share Posted August 3, 2007 RunWait("program.exe" &GUICtrlRead($file)) Is something like this possible? Obviously I'm new to this, but it seemed reasonable. Thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 3, 2007 Developers Share Posted August 3, 2007 what is the value of the $file control ? Or do you mean you want to run the programs specifioed in the Gui ? RunWait(GUICtrlRead($file)) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mikelee33 Posted August 3, 2007 Author Share Posted August 3, 2007 what is the value of the $file control ?It is a file as selected with the following function:$file = GUICtrlCreateInput ( $file , 10, 125, 300, 20)GUICtrlSetState(-1,$GUI_DROPACCEPTED)$btnFile = GUICtrlCreateButton ("File", 315, 125, 45, 20)GUICtrlSetTip($btnFile,"click here to select a single file")Or do you mean you want to run the programs specified in the Gui ?I had completed the GUI and then I decided to add an option "Edit Comments".I just wanted to add the button and then have it run the editor program "comments.exe" which would take and work with the file already selected. "comments.exe" is an external program (located in the same folder as the GUI and its support files.)I apologize if I haven't made myself clear. 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