Jump to content

Update


Jon
 Share

Recommended Posts

  • Administrators

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
Link to comment
Share on other sites

  • Administrators

Updated:

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

Total internal changes, but from a usage point of the these are the main changes:

- Remote registry stuff added

- PID support for process and run functions

- ControlSend/Send fixes

Link to comment
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.

Link to comment
Share on other sites

  • Administrators

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.
Link to comment
Share on other sites

  • Administrators

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
Link to comment
Share on other sites

  • Administrators

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: )

Link to comment
Share on other sites

  • Administrators

Updated:

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

Tweaks to the helpfiles and recompiled under .NET 2003 (as COM stuff is a little neater under that).

Please Make sure I've not broken anything :ph34r:

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