my $appname = "NAMESPACE.object.objectProxy.1"; my $app; # Connect to the running instance $app = Win32::OLE->GetActiveObject($appname);