Pascal Scripting: GetActiveOleObject

Prototype:

function GetActiveOleObject(const ClassName: String): Variant;

Description:

See the Using COM Automation objects topic.