Code: Select all
"foxit..."
$gfts = "|" . replace(get("genericfiletype", "pdf", "|"), "*.") . "|";
$items = "";
foreach($item, <get SelectedItemsPathNames |>) {
if (exists($item) != 1) { continue; }
$shortcut = property("#ShortcutTarget", $item);
if ($shortcut) { $item = $shortcut; }
if (strpos($gfts, "|" . gpc($item, "ext") . "|") == -1) { continue; }
$items .= quote($item) . " ";
}
if ($items) { open """C:\Foxit PhantomPDF editor 5210201\Foxit PhantomPDF.exe"" $items"; }