jbv wrote:
Hi list,

Is there a quick way to locate (from a Rev stack on a CD-Rom
for instance) an application on a end-user HD (Acrobat Reader
for instance) and to launch a pdf file on the CD-Rom with the
app on the HD ?

Thanks,
JB

You probably want to load the document with the application that is currently assigned to handle this type of documents.

On Windows:

        start <document>

        -or-

        <document>

On Linux with KDE:

        kfmclient exec <document>

This starts the appropriate KDE application for the <document>'s MIME type. This follows the settings for that MIME-type in the KDE file associations config module.

If you need it to open on a particular display, then pre-pend DISPLAY=:0 for example.

Replace <document> above with the path to the document you want to launch with the associated viewer.

Use whatever mechanism Revolution provides to launch external commands.

PS!
Do not under any circumstances assume that Adobe Acrobat or Adobe Reader is used to view the PDF files.

--

Geir A. Myrestrand
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to