or download this
(my $PPTTitle, my $PPTProperties, my %PPTContent) = readPowerPoint::re
+adActivePPT();
if ( (defined $PPTTitle) and (defined $PPTProperties) and (defined
+%PPTContent) )
...
{
print ("PowerPoint is open but there doesn't seem to be an activ
+e PPT presentation open.");
}