Jump to content

AU3Automation - export AU3 scripts via COM interfaces


doudou
 Share

Recommended Posts

Every day I understand better and better my own decision not to use any 64-bit Windows: this WoW64 reflection is definitely a product of a nightmarish drug trip of some MS "designer". Whatever, I made a second attempt of fitting AU3Aut COM server in this 64-bit "world".

UDFS & Apps:

Spoiler

DDEML.au3 - DDE Client + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Link to comment
Share on other sites

Lol, just know that what you're doing is appreciated (and you can't tell me it's not educational, at least.)

Link to comment
Share on other sites

Hopefully the odyssey of porting the proxy to 64-bit ends with this release.

This describes best how this job felt:

Edited by doudou

UDFS & Apps:

Spoiler

DDEML.au3 - DDE Client + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

With release of version 1.0.6 all files have been pushed to SourceForge. Links to downloads, source code (DLL too) etc. are in the top post.

UDFS & Apps:

Spoiler

DDEML.au3 - DDE Client + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Link to comment
Share on other sites

  • 10 months later...

Hi,

I'm new to autoIT. I'm in the middle of finding a right tool to develop a middle tier between Windows and web app and found autoIT. The middle tier app must be able to

Requirements

1. Can make used of both COM and XPCOM.

2. Can host both COM and XPOM. A link toXPCOM

I've been reading a lot of posts on this forum till your very very interesting post. I think it's the only post close to what I'm looking for (If I'm not misunderstood) but as I'vd said I'm new to autoIT thus there are some questions need to ask.

Question

1. Is your post about making used of existing COM and HOST them ?

2. If it is so in question 1,can I use it as activeX in web app ? (I haven't test it.)

3. Obviously, autoIT supports COM, what about XPCOM ?

4. Is autoIT good for my requirements ?

Thank you in advance. Any ideas and/or suggestions are welcome

Regards

Prakob

Link to comment
Share on other sites

  • 1 year later...

Hi ~ Anyone can help me:)

Where can I get the "COMHelpers, MemoryHelpers" ? I have searched these two files for a long time.

; ------------------------------------------------------------------------------

;

; Version: 1.0.4

; AutoIt Version: 3.3.4.0

; Language: English

; Author: doudou

; License: GNU/GPL, s. LICENSE.txt

; Description: Functions for publishing an AU3 script as COM server.

; Requirements: AU3Aut.dll, AutoItObject 1.0.0, DDEML 1.5.4, COMHelpers, MemoryHelpers

; $Revision: 2 $

; $Date: 2010-08-03 04:28:05 +0200 (Di, 03. Aug 2010) $

;

; ------------------------------------------------------------------------------

Link to comment
Share on other sites

  • 2 weeks later...

Hi ~ Anyone can help me:)

Where can I get the "COMHelpers, MemoryHelpers" ? I have searched these two files for a long time.

; ------------------------------------------------------------------------------

;

; Version: 1.0.4

; AutoIt Version: 3.3.4.0

; Language: English

; Author: doudou

; License: GNU/GPL, s. LICENSE.txt

; Description: Functions for publishing an AU3 script as COM server.

; Requirements: AU3Aut.dll, AutoItObject 1.0.0, DDEML 1.5.4, COMHelpers, MemoryHelpers

; $Revision: 2 $

; $Date: 2010-08-03 04:28:05 +0200 (Di, 03. Aug 2010) $

;

; ------------------------------------------------------------------------------

Yeah! COMHelpers MemoryHelpers are all in au3_TLIDirect_1.0.6 :)

Link to comment
Share on other sites

  • 3 weeks later...

Yeah! COMHelpers MemoryHelpers are all in au3_TLIDirect_1.0.6 :)

Sorry, forgot to point that out. Actually all required files are on SF, I extended the leading post to remind people to look in Misc folder too.

UDFS & Apps:

Spoiler

DDEML.au3 - DDE Client + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Link to comment
Share on other sites

  • 1 year later...

So, I haven't tried this, but I assume this tool/feature would allow one to expose AutoIt 3rd party libraries/UDFs over COM, as long as you wrap or export what you want to be exposed for COM?

That would a nice way to work around (or "complement") the limitation of AutoItX exposing only the Windows GUI automation functions of AutoIt (and not the rest of the UDFs available, etc.).

If my assumption is correct, anyone try out this tool against much of the UDF library offerings that are packaged with AutoIt? I'm interested, through experiences of others, in knowing which UDF libraries work well with this COM server and which don't.

By the way, the SourceForge project page - Support section, you could probably edit that to tell users to get support here in the official AutoIt forums, etc. as it's not likely they can get support from Sourceforge:

 

AutoIt-v3-COM Automation Bridge says the best way to get help with its software is by visiting http://sourceforge.net.

 

or enable the mailing list, issue tracker features of SourceForge project there. I recall those are available as I have 1 or 2 projects myself there (not AutoIt related though).

Edited by daluu
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...