Sign in to follow this  
Followers 0
Jon

Update

9 posts in this topic

#1 ·  Posted (edited)

I'm in the middle of updating the code of AutoItX (currently the March version) to include all the fixes that were applied to AutoIt up to the current release. I should be done by the end of the weekend.

Edit: The function list will initially be the same as the March version, just with the fixes. E.g. ControlSend fixes, PID support in Process functions, etc.

I've also rewritten all the code so that instead of having to tweak AutoIt functions a lot when I want to put them in AutoItX I will simply be able to cut and paste the function without any changes. This involves quite a bit of overhead (about 20KB of size added to the DLL) but it will mean that updates will be pretty much instant when a function is added/changed in the main version of AutoIt.

Edited by Jon

Share this post


Link to post
Share on other sites



Jon, how have you done this:

I've also rewritten all the code so that instead of having to tweak AutoIt functions a lot when I want to put them in AutoItX I will simply be able to cut and paste the function without any changes.

I'm curious as to how you implemented that.

Share this post


Link to post
Share on other sites

Jon, how have you done this:

I'm curious as to how you implemented that.

Just a cut down version of the AUtoIt_Script object and VectorVariant. Then when the function is called from the DLL i push things onto a vParam stack and call the fuction as usual. Lots of overhead upfront but easier for me.

Share this post


Link to post
Share on other sites

Jon,

Great to see an update, I use this dll constantly in excel VB and I love it.

Keep up the good work

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Updated:

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

Added the following properties and methods:

Properties:

error (same as the AutoIt @error macro)

SW_HIDE

SW_MINIMIZE

SW_MAXIMIZE

SW_RESTORE

SW_SHOW

SW_SHOWDEFAULT

SW_SHOWMAXIMIZED

SW_SHOWMINIMIZED

SW_SHOWMINNOACTIVE

SW_SHOWNA

SW_SHOWNOACTIVATE

SW_SHOWNORMAL

Methods:

DriveMapAdd( "device", "remote share" [, flags [, "user" [, "password"]]] )

DriveMapDel( "device" )

DriveMapGet( "device" )

MouseWheel ( "direction" [, clicks] )

PixelChecksum ( left, top, right, bottom )

ProcessSetPriority ( "process", priority)

RegEnumKey ( "keyname", instance )

RegEnumVal ( "keyname", instance )

Edited by Jon

Share this post


Link to post
Share on other sites

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

I've added the first draft of the help file. Please let me know the bugs in the file - I'll start a seperate topic for this.

I've only documented the COM/VBScript interface at the moment. Standard DLL users should continue to use this along with AutoIt3.h to work out the correct syntax (and standard DLL users should be totally capable of this :ph34r: )

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