Jump to content
Sign in to follow this  
Smyte

A Question on RunWait

Recommended Posts

Smyte

Hey, I need help running a program "Epw.exe" using Runwait and in the same line of runwait, asking it to open a textfile.

The documentation is on this page: http://www.spiralsoftware.com/EPManual.pdf , Around page 113.

The examples show how they do it with SendMessage, but how would the code look like in autoit's Runwait()?

EDIT: Assuming the textfile location is a certain variable and maybe, setting Epw.exe's location to @scriptdir

Edited by Smyte

Share this post


Link to post
Share on other sites
stormbreaker

Reading that documentation, I think this should work:

RunWait(@ScriptDir & "\Epw.exe" & ' -run="' & $FILENAME & '"')
Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.