PitBullBlonde Posted September 3, 2004 Posted September 3, 2004 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." 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
Developers Jos Posted September 3, 2004 Developers Posted September 3, 2004 (edited) Really think you need to check the content of the variables: $HM_file and $HM_path..... Edited September 3, 2004 by JdeB 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.
nobby Posted September 4, 2004 Posted September 4, 2004 The correct syntax is @SW_MAXIMIZE Cheers CheersNobby
Valik Posted September 4, 2004 Posted September 4, 2004 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.
SlimShady Posted September 4, 2004 Posted September 4, 2004 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now