Sm0keVap0ur Posted January 21, 2016 Share Posted January 21, 2016 I am receiving the following message when I attempt to start a process that invokes the execution of a Autoit executable file. Line 2 (File"C:\....\MozilliaOpeningPositing.exe"): Error: Unknown function name. The code within the file is as follows: #region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000809) --- WinWaitActivate("Opening Posting","") Send("{ENTER}") #endregion --- Au3Recorder generated code End --- Having read previous posts relating to a similar problem I did remove the underscore at the start of the line 2 which read _WinWaitActivate("Opening Posting",""). However this did not resolve the problem. Can anyone provide some assistance here? Link to comment Share on other sites More sharing options...
jdelaney Posted January 21, 2016 Share Posted January 21, 2016 (edited) WinWaitActive....search in helpfile next time, that's one of the most basic functions there is. F1 in the scite window Edited January 21, 2016 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Sm0keVap0ur Posted January 21, 2016 Author Share Posted January 21, 2016 What's up with your response...? I've only just started using this tool today as you can see from my Profile (1 Post). If you don't want to assist new users then don't respond to their posts. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 21, 2016 Developers Share Posted January 21, 2016 The underscore needs to be there but you are missing the UDF which should have been generate by Au3Recorder as well: Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc Jos 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. 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