Sign in to follow this  
Followers 0
PitBullBlonde

I'm BaaaaaaaK

5 posts in this topic

Hey guys, tell me what I've done wrong - I'm getting the following error after having added a macro call:

Run($HM_file, $HM_path, @SW_SHOWMAXIMIZED)

Since having added the @SW_SHOWMAXIMIZED part, I get the following error:

"AutoIT Error: Unable to execute the external program.

The system cannot find the file specified."

:ph34r:

I thought I downloaded and installed everything. What can I check, or should I just try to download/reinstall again?

Anyone else ever have this problem?

Any and all suggestion appreciated....


Corey J. HarperCorey_Harper@HotMail.com

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Really think you need to check the content of the variables: $HM_file and $HM_path.....

Edited by JdeB

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

The correct syntax is @SW_MAXIMIZE

Cheers


CheersNobby

Share this post


Link to post
Share on other sites

The correct syntax is  @SW_MAXIMIZE

Cheers

<{POST_SNAPBACK}>

No, @SW_SHOWMAXIMIZED is correct.

@SW_SHOWMAXIMIZED

  Activates the window and displays it as a maximized window. 

The problem (Judging by the variable names) is that it's the common mistake of assuming the working directory parameter is the path to the file.

Share this post


Link to post
Share on other sites

The problem (Judging by the variable names) is that it's the common mistake of assuming the working directory parameter is the path to the file.

<{POST_SNAPBACK}>

That's why it's better to use the @ScriptDir variable in the filename.

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