Pascal Scripting: GetActiveOleObject

Prototype:

function GetActiveOleObject(const ClassName: string): Variant;

Description:

See the Using COM Automation objects topic.