Jump to content

RunWait options


Recommended Posts

  • Developers

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

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...