Jump to content

AutoIt Error: Unknown function name.


Recommended Posts

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

WinWaitActive....search in helpfile next time, that's one of the most basic functions there is.

F1 in the scite window

Edited 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

  • Developers

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...