This is a standard library COM.ahk.
It requires at least AHK build 1.0.47.00.
Before downloading, please read first about Standard Library.
DOWNLOAD COM.zip or COM_L.zip (for AutoHotkey_L) or AutoHotkey32/64 (COM is built into).
COM_Invoke() 사용법 :
If it has the form in VBS-like scripts as
However, there exist occasions the above simple form becomes ambiguous. In those cases, can force it to use PropertyPut by appending to the function name the artificial suffix "=" like:
There are some occasions where another COM Object ObjPrm should be a parameter. In that case, prefix it with "+" like:
As a consequence, "+0" will play the role of VBS Nothing.
And, "-0" will represent VBS missing parameter. For eample
in VBS-like scripts can be written as
Finally, to control the error message pop-up of COM Library, call
REF. If like to use dot syntax, can use ez_invoke() and/or COM_InvokeDeep().
PS. The last updated time is the last edited time of this post.