Hello, is it possible to start a PDF-reader from DigiVis, i.e. by pressing a button.Thanks/Tore
Voted best answer
There are 2 ways to do it: a) with a WEB display, b) with the External Aspect.
With the WEB display, the document is shown in the DigiVis window frame; with the External Aspect the document is shown in the readers own window, that overlays DigiVis.
You can use an indirect activation, by specifying a HTML page, that contains links to pdf documents, or a link to Acrobat Reader itself.
Indirect activation is usefull if you want to offer a choice of documents.
Also direct activation is possible. Here you specify instead of a webpage directly the document file path like: file:///C:/Users/username/Desktop/filename.pdf or simply
You can also specify the path to acrobat reader itself, but Windows will then ask you in one message box if you want to download or run the file, and in another message box if you do trust the source and want to execute the file. The second message box can be omitted further on if you generally trust files from the vendor, but you stick with one message box every time you execute the WEB Display with the direct Acrobat executable link.
Since Freelance 2013, the WEB Display license is part of the standard DigiVis license and does not need to be aquired seperately
This is a seperate license for DigiVis. It is linked to Tags and configured using the Display Access Dialog. Click on a DigiVis resource in the P-Tree and select System/Display Access.
The External Aspect accepts document names or executable names. If the full file path name contains blanks, like in C:\Program Files\... surround the filename with a pair of quotation marks like "C:\Program Files\.."
If you want to associate more than one document with a Tag, you can specify a word document that contains links to various other documents.
With the External Aspect Windows will not aks you whether you want to download or run the file and whether you trust the vendor or not.
If you do not want to use existing Tags you can create a dummy tag with a function block and call it "Acrobat_Reader".
In Summary, use a WEB display if you want to offer a central choice of existing documents; use the External Aspect for a single document or a choice of documents linked to a Tag or for starting executables.