Sign in to follow this  
Followers 0
Jon

Autoitx3 Beta Available In Unstable

5 posts in this topic

Hacked together in a very short time indeed, each function tested a grand total of ONCE :whistle:

AutoItX3 BETA

-------------

http://www.hiddensoft.com/autoit3/files/unstable/autoitx/

(VBScript)

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

Note new control name of "AutoItX3.Control"

Methods are:

------------

AutoItSetOption ( "option", param )

BlockInput ( flag )

CDTray ( "drive", "status" )

ClipGet ( )

ClipPut ( "value" )

ControlClick ( "title", "text", "classnameNN" [, button] [, clicks]] )

ControlCommand ( "title", "text", "classnameNN", "command", "option" )

ControlDisable ( "title", "text", "classnameNN")

ControlEnable ( "title", "text", "classnameNN" )

ControlFocus ( "title", "text", "classnameNN" )

ControlGetFocus ( "title" [, "text"] )

ControlGetPosX ( "title", "text", "classnameNN" )

ControlGetPosY ( "title", "text", "classnameNN" )

ControlGetPosHeight ( "title", "text", "classnameNN" )

ControlGetPosWidth ( "title", "text", "classnameNN" )

ControlGetText ( "title", "text", "classnameNN" )

ControlHide ( "title", "text", "classnameNN" )

ControlMove ( "title", "text", "classnameNN", x, y [, width [, height]] )

ControlSend ( "title", "text", "classnameNN", "string" [, flag] )

ControlSetText ( "title", "text", "classnameNN", "new text" )

ControlShow ( "title", "text", "classnameNN" )

IniDelete ( "filename", "section", "key" )

IniRead ( "filename", "section", "key", "default" )

IniWrite ( "filename", "section", "key", "value" )

IsAdmin ( )

MouseClick ( "button" [, x, y [, clicks [, speed ]]] )

MouseClickDrag ( "button", x1, y1, x2, y2 [,speed] )

MouseDown ( "button" )

MouseGetCursor ( )

MouseGetPosX ( )

MouseGetPosY ( )

MouseMove ( x, y [, speed] )

MouseUp ( "button" )

Opt( "option", param )

PixelGetColor ( x , y )

PixelSearch ( left, top, right, bottom, color [, shade-variation] [, step]] )

ProcessClose ( "process" )

ProcessExists ( "process" )

ProcessWait ( "process" [, timeout] )

ProcessWaitClose ( "process" [, timeout] )

Run ( "filename" [, "workingdir" [, flag]] )

RunAsSet ( ["user", "domain", "password"] )

RunWait ( "filename" [, "workingdir" [, flag]] )

Send ( "keys" [, flag] )

Shutdown ( code )

Sleep ( delay )

StatusbarGetText ( "title" [, "text" [, part]] )

ToolTip ( "text" [, x, y] )

URLDownloadToFile ( "URL", "filename" )

WinActivate ( "title" [, "text"] )

WinActive ( "title" [, "text"] )

WinClose ( "title" [, "text"] )

WinExists ( "title" [, "text"] )

WinGetCaretPosX ( )

WinGetCaretPosY ( )

WinGetClassList ( "title" [, "text"] )

WinGetClientSizeHeight ( "title" [, "text"] )

WinGetClientSizeWidth ( "title" [, "text"] )

WinGetHandle ( "title" [, "text"] )

WinGetPosX ( "title" [, "text"] )

WinGetPosY ( "title" [, "text"] )

WinGetPosHeight ( "title" [, "text"] )

WinGetPosWidth ( "title" [, "text"] )

WinGetState ( "title" [, "text"] )

WinGetText ( "title" [, "text"] )

WinGetTitle ( "title" [, "text"] )

WinKill ( "title" [, "text"] )

WinMenuSelectItem ( "title", "text", "item" [, "item" [, "item" [, "item" [, "item" [, "item" [, "item"]]]]]] )

WinMinimizeAll ( )

WinMinimizeAllUndo ( )

WinMove ( "title", "text", x, y [, width [, height]] )

WinSetOnTop ( "title", "text", flag )

WinSetState ( "title", "text", flag )

WinSetTitle ( "title", "text", "newtitle" )

WinWait ( "title" [, "text" [, timeout]] )

WinWaitActive ( "title", ["text"], [timeout] )

WinWaitClose ( "title" [, "text" [, timeout]] )

WinWaitNotActive ( "title" [, "text" [, timeout]] )

Share this post


Link to post
Share on other sites



Congratulations,

I will pass the info to my vbscripter's

Share this post


Link to post
Share on other sites

K,

Updated with a couple of fixes (MouseMouse function??? I must have been drunk) and I've also managed to merge the AutoitDLL code into the same DLL. I've uploaded the C header and .lib files to use it in the standard DLL way.

So, who will help me document? :whistle:

Share this post


Link to post
Share on other sites

So, who will help me document? :whistle:

Sound like a perfect job for CyberSlug B)

Share this post


Link to post
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
Sign in to follow this  
Followers 0