5 posts in this topic
I've used autoit before, but always coded from scratch. I decided to try to run au3record, and I bet this is a 'dumb question', but why does write code that doesn't pass syntax check?
+> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE #region --- Au3Recorder generated code Start (v18.104.22.168 KeyboardLayout=00000409) --- Run('C:\Program Files (x86)\spacemonger\SpaceMonger.exe') _WinWaitActivate("SpaceMonger","") MouseClick("left",542,44,1) _WinWaitActivate("About SpaceMonger","SpaceMonger Version ") MouseClick("left",183,240,1) _WinWaitActivate("SpaceMonger","") MouseClick("left",1405,13,1) #endregion --- Au3Recorder generated code End --- That is exactly what the recorder created. All the stuff on the first line causes the syntax checker to go into a convulsion, so I just deleted that.
But "_WinWaitActivate"? With an underscore at the front of it?
There must be something that's gotten completely by me. Anyone willing to put me on the right track?