Jump to content

Recommended Posts

Posted

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?

Posted

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.

  • Developers
Posted

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.
  :)

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
  • Recently Browsing   0 members

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