Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

AutoItX Future


  • Please log in to reply
33 replies to this topic

#1 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 10,571 posts

Posted 23 November 2007 - 04:13 PM

AutoItX needs some love. I've neglected it for quite a while and the interfaces/methods aren't up to scratch. I'm probably going to reimplement the interfaces so for those who use it please chip in with any suggestions.

It will likely _not_ be backwardly compatible as some of the existing methods have really lame parameters.







#2 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 23 November 2007 - 04:55 PM

Might be a bit much for a suggestion but it would be nice to have the whole script engine available in autoitx.
Something like execute :P

for AU3_*GetHandle functions, which both dont return a value in c api, i'd sugesst returning a handle
or format the string to be reusable ([HANDLE:...])
Posted Image CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map

#3 zfisherdrums

zfisherdrums

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 391 posts

Posted 23 November 2007 - 10:05 PM

Hello Jon,

I saw this beggar on the side of the road today. He was holding a sign saying, "Need a WinList method". It looked like he had been standing out there for awhile; his hands were all gnarled and arthritic from writing all those EnumWindows callbacks. Poor guy. I threw him my two cents.

Also, would it be safe to assume that the interface reimplementation will provide a way to reference controls and windows using the bracket syntax?
Zach...

#4 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 10,571 posts

Posted 23 November 2007 - 11:16 PM

Hello Jon,

I saw this beggar on the side of the road today. He was holding a sign saying, "Need a WinList method". It looked like he had been standing out there for awhile; his hands were all gnarled and arthritic from writing all those EnumWindows callbacks. Poor guy. I threw him my two cents.

Also, would it be safe to assume that the interface reimplementation will provide a way to reference controls and windows using the bracket syntax?
Zach...

LOL :P

The current version actually works with the same syntax as the full version of AutoIt. It's just not documented really.

#5 Confuzzled

Confuzzled

    Mouse moved. Please restart Windows for changes to take effect.

  • Active Members
  • PipPipPipPipPipPip
  • 1,000 posts

Posted 24 November 2007 - 12:58 AM

Tree_man.jpg

Hello Jon,

I saw this beggar on the side of the road today. He was holding a sign saying, "Need a WinList method". It looked like he had been standing out there for awhile; his hands were all gnarled and arthritic from writing all those EnumWindows callbacks. Poor guy. I threw him my two cents.

Also, would it be safe to assume that the interface reimplementation will provide a way to reference controls and windows using the bracket syntax?
Zach...

Was it this fellow?

#6 zfisherdrums

zfisherdrums

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 391 posts

Posted 24 November 2007 - 04:14 AM

@Jon: All jesting aside, I believe a WinList method would be great. Thanks for the heads up on the syntax.
@Confuzzled: That looks like the guy across the street. He was trying to write a batch file wrapper for AutoIt.*

Zach...
* I will stop hijacking this thread now.

Edited by zfisherdrums, 24 November 2007 - 04:15 AM.


#7 wccppp

wccppp

    Seeker

  • Active Members
  • 28 posts

Posted 01 December 2007 - 06:04 AM

AutoItX needs some love. I've neglected it for quite a while and the interfaces/methods aren't up to scratch. I'm probably going to reimplement the interfaces so for those who use it please chip in with any suggestions.

It will likely _not_ be backwardly compatible as some of the existing methods have really lame parameters.


Any chance to include Regular Expression support in AutoItX? Thanks!

#8 erezlevi

erezlevi

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 436 posts

Posted 16 January 2008 - 07:17 AM

Any chance to include Regular Expression support in AutoItX? Thanks!


maybe I am asking this wrong here, because I don't know AutoItX abilities, but, can I register an AuitIT script to windows so if another program will do the following: ObjCreate ("Erez.Interface") can I create this object and register it to windows, and use method within it? so again if another program will call it:
like another AutoIT script:

$part4="hello world"
$oInter=ObjCreate ("Erez.Interface")
$oInter.Initialize(0)
$oInter.SendData($part4)
$oInter.Terminate()

can I write a script that when the other Script creates the object "Erez.Interface", I will Recieve the Initialize command and do stuff with the senddata command?

#9 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 10,571 posts

Posted 25 January 2008 - 01:46 PM

For the DLL version, the use of strings for windows and controls can be annoying because it's not easy to pass proper HWNDs. eg:

AU3_API long WINAPI AU3_ControlClick(const char *szTitle, const char *szText, const char *szControl, const char *szButton, long nNumClicks, long nX, long nY);

Should I make WinGetHandle and ControlGetHandle the only functions to support strings and make all other functions take pure HWNDs? Or should a have an ...Ex() version of each function that takes alternative parameters?

#10 golron

golron

    Seeker

  • New Members
  • 1 posts

Posted 25 January 2008 - 06:07 PM

Should I make WinGetHandle and ControlGetHandle the only functions to support strings and make all other functions take pure HWNDs? Or should a have an ...Ex() version of each function that takes alternative parameters?


I don't think that making all the other functions take HWNDs would be that good of an idea. I'm not sure how it applies to everybody else, but for the automation that I do multiple windows are usually popping up so it is nice to do the automation in one call rather then having to call *GetHandle() for each new window. Having *Ex() versions might work, but I think it would clutter up the dll a lot.

As for suggestions, the ability to automate things like sliders, treeviews, and toolbars would be very nice.

#11 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,295 posts

Posted 25 January 2008 - 06:07 PM

An ...Ex() style seems to make the most sense to me.

#12 JRSmile

JRSmile

    MCSE 2012R2

  • Active Members
  • PipPipPipPipPipPip
  • 461 posts

Posted 13 February 2008 - 12:27 PM

any chance that it will be able to fire events, to be fully com compatible?
$a=StringSplit("547275737420796F757220546563686E6F6C75737421","")For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4)Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])))''Chr("a")&"HI"Next;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile;MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)

#13 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,295 posts

Posted 13 February 2008 - 03:20 PM

AutoItX doesn't have any events to fire.

#14 Melloware

Melloware

    Seeker

  • Active Members
  • 21 posts

Posted 18 April 2008 - 07:28 PM

Jon,

if you do decide to reimplement the DLL or even add new features I would be more than happy to create the matching Delphi wrapper to go along with the DLL. A lot of your autoITX users out there I think are Delphi users. I know there are other guys on this forum that have done a Java translation and a few other languages too. It would be cool to have them all in your distributable so developers don't have to come searching for them and know that they match the version of the DLL you are distributing. Just my two cents!

I am always available too.
----------------------------------------------------------------------------------------Melloware Inchttp://www.melloware.comHome of Intelliremote, take back control of your HTPC!www.intelliremote.com-----------------------------------------------------------------------------------------

#15 jcddcjjcd

jcddcjjcd

    Seeker

  • Active Members
  • 30 posts

Posted 11 June 2008 - 04:21 AM

I would also like to see more of the features included in the dll.
Thanks for your work.
Regards,
John.

#16 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 10,571 posts

Posted 07 August 2008 - 11:26 AM

In the latest beta version I've changed everything to full unicode. For COM this won't mean any difference to anyone. For the exported DLL version all the string parameters have changed to LPWSTR rather than char. This will cause some issues.

In theory, I could create ANSI versions of every function that converts ansi/unicode on the fly but it's quite a lot of work and I'm not sure it's worth it.

#17 jcddcjjcd

jcddcjjcd

    Seeker

  • Active Members
  • 30 posts

Posted 11 August 2008 - 06:37 AM

When you release that new version I will update the C# declartions recently posted to use the new format.
Regards,
John.

#18 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,295 posts

Posted 12 August 2008 - 03:14 AM

It's already been released. Just use the unicode function definitions.

#19 Damastah

Damastah

    Wayfarer

  • Active Members
  • Pip
  • 70 posts

Posted 29 August 2008 - 08:33 PM

How about the Winlist feature?

#20 zfisherdrums

zfisherdrums

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 391 posts

Posted 29 August 2008 - 09:00 PM

How about the Winlist feature?


You can roll your own. ;)

http://msdn.microsoft.com/en-us/library/ms633497(VS.85).aspx

http://www.pinvoke.net/default.aspx/user32/EnumWindows.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users