could you not simply do

OPEN URL ($path)  //default app

OPEN URL ($path;"Preview") //specified app

http://doc.4d.com/4Dv15/4D/15.6/OPEN-URL.301-3817577.en.html

2018/11/19 22:56、Two Way Communications via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール:

The syntax I use is:

LAUNCH EXTERNAL PROCESS($command;$IN;$OUT;$ERROR)

where:

$command = “open 
/Applications//Xpert_PRO/XPP_DOSSIER_FOLDER/DOS_Le18000142/MyPDFdocument.pdf”
$IN = “”
$OUT = “”
$ERROR = “”



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to