Jump to content

Recommended Posts

Posted

This must be a really simple answer but I can't get it :D

How do you set AutoItX options in V3? So far I have

Set oAutoit = WScript.CreateObject("AutoItX3.Control")

oAutoit.AutoItSetOption("WinTitleMatchMode", 2)

However, I get an error about it expecting an "=" somewhere. Oh,

Guest Guest
Posted

OK, thanks for that. New problem now then, how about calling it from VBA?

Set oAutoit = WScript.CreateObject("AutoItX3.Control") gives me a "Run time error 424. Object required" error

  • Administrators
Posted

OK, thanks for that.  New problem now then,  how about calling it from VBA?

Set oAutoit = WScript.CreateObject("AutoItX3.Control") gives me a "Run time error 424.  Object required" error

I don't know VBA, but the WScript will be incorrect (WScript is the WSH/VBScript object not VBA)

Sorry, don't know.

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