Sign in to follow this  
Followers 0
mikelee33

RunWait options

3 posts in this topic

RunWait("program.exe" &GUICtrlRead($file))

Is something like this possible?

Obviously I'm new to this, but it seemed reasonable.

Thanks.

Share this post


Link to post
Share on other sites



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))


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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.)

Posted Image

I apologize if I haven't made myself clear.

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