Jump to content
Sign in to follow this  

Plugin Execution Context

Recommended Posts


I've been playing around with the AutoIt Plugin SDK and this question kept rising: how do I access the current AutoIt execution context from within a plugin function? Particularly, can we read/write script variables in the current or global scope or call AutoIt built-in functions?

If the answer is no, then it would be a nice-to-have feature, wouldn't it? Honestly, what real advantage otherwise has a plugin call over a DllCall? Only simpler syntax... comparing to a COM object call not even that...

One can think of an additional parameter for plugin functions like AU3_CONTEXT* and a lib with exports like AU3_ReadVariable(const char* szVarName, AU3_PLUGIN_VAR* pOut, const AU3_CONTEXT* pContext), AU3_WriteVariable(const char* szVarName, const AU3_PLUGIN_VAR* pVal, const AU3_CONTEXT* pContext).

Wonder, what would the devs say?

UDFS & Apps:

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

- OleView was yesterday

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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.