Sign in to follow this  
Followers 0
Smyte

A Question on RunWait

2 posts in this topic

#1 ·  Posted (edited)

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



#2 ·  Posted (edited)

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  
Followers 0