Asu Posted December 30, 2018 Posted December 30, 2018 Hello -- I would like to open pdf files that are stored in a secure external manner. Only the first page of multipage files show in a FM container window (if I';m not mistaken) so I am wondering about using Preview (Mac, of course). I can retrieve the file path to the secure file by processing the text output of the container file, and then use it as a variable filename in a Send Event script step, but Preview cannot open it. Any suggestions?
comment Posted December 30, 2018 Posted December 30, 2018 2 hours ago, Asu said: Only the first page of multipage files show in a FM container window (if I';m not mistaken) If I am not mistaken, you can format the container field as interactive container. Then you'll get an instance of Adobe Reader inside the field, allowing you to scroll and/or page through the PDF document. In order to open the PDF in Preview, you would have to export it first. While you have it encrypted in external storage, Filemaker is the only application that can open it (that is the purpose of the encryption).
Asu Posted December 30, 2018 Author Posted December 30, 2018 Well I would think it would decrypt it then pass in on to another app. But if I'm not mistaken, I understand what you are saying so thank you for your suggestion Asu
comment Posted December 30, 2018 Posted December 30, 2018 1 hour ago, Asu said: I would think it would decrypt it then pass in on to another app. While it's decrypted, it exists only as the contents of the container field in the current record. These contents are not accessible to other applications. Exporting the field is a way to make them so. Perhaps there is another way to pass the contents using AppleScript - I am not sure if and how that would work. In any case, passing the path to the file will not accomplish anything, because the file does not live there.
comment Posted December 30, 2018 Posted December 30, 2018 (edited) Just out of curiosity, I tried the following: Click in the container field; Select 'Copy' from the Edit menu; Switch to the Preview application; Select 'New from Clipboard' from the File menu. This will open a copy of the PDF in the Preview application as a new, unsaved document. But again, this should not be required if you format the container as optimized for PDF. Edited December 30, 2018 by comment
Recommended Posts
This topic is 2399 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now