pdd Posted May 9, 2012 Share Posted May 9, 2012 Using AutoIt 3.3.8.1 and Scite 2.28 on Windows XP box. I recorded a macro using Scite Au3Recorder (I scrubbed some of the input with "..." before putting it here) #region ---Au3Recorder generated code Start (v3.3.7.0) --- Run('...') _WinWaitActivate("...", "") Send("...{ENTER}") _WinWaitActivate("...", "") MouseClick("left", 764, 234, 1) _WinWaitActivate("...", "") Send("{CTRLDOWN}{SHIFTDOWN}n{SHIFTUP}{CTRLUP}") MouseClick("left", 221, 506, 1) Send("{CTRLDOWN}{SHIFTDOWN}d{CTRLUP}{SHIFTUP}{CTRLDOWN}i{CTRLUP}") #endregion ---Au3Recorder generated code Start (v3.3.7.0) --- When I compile with obfuscation, getting an error "ERROR: _WinWaitActivate(): undefined function" I searched the forums and tried the suggestion to remove underscore. But still the compile error shows. I force compile and run the exe anyway, then get a popup with "Unknown function name". Any suggestions are welcome, and thanks in advance. Link to comment Share on other sites More sharing options...
JohnOne Posted May 9, 2012 Share Posted May 9, 2012 Replace _WinWaitActivate("...", "") With WinWait("...", "") WinActivate("...", "") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
pdd Posted May 15, 2012 Author Share Posted May 15, 2012 That worked! Thanks. 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