mrmasterminh Posted September 28, 2005 Posted September 28, 2005 What steps do I have to go through to use Autoit functions in my VBscript?? Sorry I am very new to everything
randallc Posted September 29, 2005 Posted September 29, 2005 (edited) Hi,I have not used it at all, but from that last post and link, I presume......;1. Set up your object;Set oAutoIt = WScript.CreateObject("AutoItX3.Control")1.a - Use you usual syntax for if .. etc lines which do not need the AutoIt Syntax if you want.. then2. Add to the beginning of every line;oAutoit.egoAutoit.WinWait title, text3. Make a few changes directly; egExitbecomesoAutoit.quitI'll be interested to see how you go!Best, Randall Edited September 29, 2005 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
zfisherdrums Posted October 21, 2005 Posted October 21, 2005 Hey randallc! I tried your perscribed code as a VBScript and it worked like a charm except for one minor detail. I received an error regarding this statement: oAutoIt.quit In checking the documentation, I didn't see a quit method listed. I'm not terribly familiar with how VBScript handles memory, so I replaced it with Set oAutoIt = Nothing It ran with no errors. Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog...
randallc Posted October 21, 2005 Posted October 21, 2005 Woops, OK, thanks, I was just guessing... "off the cuff", had not checked Thanks again, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now