Overview
Call a COM Object Function.
(number) COM Object that returned from Memory.CreateObject.
(string) Name of function that you want call it.
(variant) First that must be passed to Com Object (can be string or number).
(variant) Second that must be passed to Com Object (can be string or number).
(variant) Nth that must be passed to Com Object (can be string or number).
(variant) Return value depends on that function you call.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
-- Create a PDF Object in a tree PDFObject = Memory.CreateObject(Tree.GetProperties("Tree1").WindowHandle, "AcroPDF.PDF.1") -- Call 'GetVersions' function with no parameter Ver = Memory.CallObjectFunction(PDFObject, "GetVersions") Dialog.Message("", ver)
See also: Related Actions