Jump to content

Recommended Posts

Posted (edited)

I just learned about AutoIt from a coworker. I want to learn it and make use of it when and where possible.

I decided to play around and reference the AutoItX3 library in MS Access VBA.

So far, the only commands that work are .send and .sleep.

Calls to other functions just will not work,
https://www.autoitscript.com/autoit3/docs/functions.htm

I get messages like "Object Doesnt Support this property or method"

So I assume it's the object. A dumbed down version... Though, it's so dumbed down, the .Sleep method is the only thing it offers, since VBA has no sleep method.

 

Dim oAutoIt
Set oAutoIt = CreateObject("AutoItX3.Control")

I also set the checkbook in references.

__

At least you can compile AutoIt and call it
Shell "path/program.exe"

 

Edited by JKDos
Posted

When you check the directory where Autoit is installed you'll find file AutoItX.chm in subdir AutoItX.
The help file describes what works in AutoItX.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

When you check the directory where Autoit is installed you'll find file AutoItX.chm in subdir AutoItX.
The help file describes what works in AutoItX.

Thank You.

I think I'll just use the script editor and build and run external scrips for best outcomes.

 

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