Expression

Performs one or more operations upon a series of variables, literal strings, and/or literal numbers. For more information see Expressions.

Expression (Shift+F12)

Parameters

Automatically create COM object
Check this option let PMC create (if not yet created) a COM object using the defined CLSID.
Handle
Name of a Handle that will point to the object. You still need to use this Handle in the script to access methods and properties.
CLSID
CLSID or human-readable Prog ID of the COM object to create.
Connect
Attempts to connect the selected Handle with an existing instance of the selected CLSID.
Expression / COM Script
One or more expressions to be executed. You can make assingments, function and object calls, etc. You can enter multiple expressions separated by lines or commas. For details see AHK documentation.
Page Element / Index
Searches for a page element and index on an IE window.
Wait for page to load
Check this option when you expect the page to change after the command when running IE COM scripts. This will execute a function after it to wait for the new page to be completely loaded before continuing, avoiding errors.

Remarks

You can enter multiple expressions separated by line or commas.

You can make math operations, variables and object assignments, as well as function and object calls.

Nearly all operators are supported, including ternary.

The syntax for COM/object calls is the same as in AutoHotkey scripts:

When you close the application, all references to Active Objects will be lost. To continue working using saved project files you must reconnect to the application by either editing one of the lines containing each handle and use the Connect button to re-create all references, or assigning the Handle to a ComObj function, usually ComObjActive(), though it will not work on all applications.

To bypass error messages go to Options > Settings > Playback and check the "Do not display errors" option.

Expressions, Operators in Expressions, COM, Basic Webpage COM Tutorial, IWebBrowser2 Interface (Microsoft))