blashmet Posted August 14, 2013 Share Posted August 14, 2013 I generated a script using the option Tools->Au3 Record. It's a simple installer: I clicked next a few times, unchecked a few boxes, and clicked finish. The code looks like this: #region ---Au3Recorder generated code Start (v3.3.7.0) --- Run('C:AginityNetezzaWorkbenchSetupx64.exe') _WinWaitActivate("Aginity Workbench for Netezza - InstallAware Wizard","") MouseClick("left",415,392,1) MouseClick("left",419,519,1) MouseClick("left",342,372,1) MouseClick("left",413,526,1) MouseClick("left",413,526,1) MouseClick("left",413,526,1) MouseClick("left",344,237,1) MouseClick("left",422,531,1) #endregion --- Au3Recorder generated code End --- However, when I run the .exe compiled from the script, I get this error: ERROR: _WinWaitActivate(): undefined function. I've tried re-recoding the macro with the option "Create internal functions" checked, but I get the same error. Any ideas how to fix? Thanks! Link to comment Share on other sites More sharing options...
Solution basel1998 Posted August 14, 2013 Solution Share Posted August 14, 2013 click on "Generate Internal functions" and then change line 16 from "AU3RecordSetup()" to "_AU3RecordSetup()" Link to comment Share on other sites More sharing options...
blashmet Posted August 14, 2013 Author Share Posted August 14, 2013 Yeah...I figured that out before returning here. Is this a known bug? Does it always misuse function names when using the recorder? Link to comment Share on other sites More sharing options...
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