Jump to content

VBA and AutoIT DLL


Recommended Posts

Hi All,

Iam new for AutoIT automation tool. I need to use the feature of AutoIT in my VBA project.

Like Mouse,Keyboard,Windows and so on......

My question are

1) How I can use the AutoIT DLL file in my VBA project?

2) How may I know which methods are written under that Library DLL file.

3) By how way I can create the object of AutoIT ?

Really your Answer and Suggestion will much helpful to me.

Best Regards,

Ganesh

Link to comment
Share on other sites

Install AutoIt and look at the help file under the AutoItX folder, which is specific to the ActiveX/DLL version. Most functions have working example scripts written in VBScript making calls to the AutoItX functions.

Note there is also a separate forum for AutoItX help.

:mellow:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Thanks you replay

I saw there are lots of example.

But Please see my question.

If I install the AutoIt Tool then I can use the DLL file in this way.

1) Is it correct method?

Dim autoItObj As AutoItX3

Set autoItObj = New AutoItX3

OR

Public autoItObj As Object

Set autoItObj = CreateObject("AutoItX3.Control")

OR

Dim autoItObj

Set autoItObj = CreateObject("AutoItX3.Control")

2) Iam trying to use the AutoItX3.DLL file directly without installing the AutoItX3.

Could you know how to use this DLL file in VBA project?

3) By how way I Can use AutoItX3.DLL file without registering the DLL file

{regsvr32 c:\fullpathTo\AUTOITX3.DLL}

Thanks in advance.

Best Regards,

Ganesh Bhagat

Edited by ganesh
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...