Jump to content

A Question on RunWait


 Share

Go to solution Solved by stormbreaker,

Recommended Posts

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

  • Solution

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

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