Jump to content

Quick Look on Container Contents: Yosemite


This topic is 3165 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi all, running into an issue with Quicklook on Yosemite.  When we run this script:

Set Variable [ $file ; Value: ${table}::field]

Set Variable [ $path ; Value: Get ( TemporaryPath )&${table}::field ]

Set Variable [ $script ; Value: Let (

Let ( 
thepath = Middle ( $path  ; Position ( $path ; "/" ; 1 ; 2 ); Length ( $path) ) ;"set p to POSIX path of " &  Quote(thepath) & "¶
do shell script \"qlmanage -p \" & quoted form of p"
)

Export Field Contents [table::field ; "$path" ]

Perform Applescript [ $script ]

It causes Filemaker to open two instances of qlmanage, wait a while, then crash.

I've heard there are difficulties getting Quicklook to behave in Filemaker on Yosemite, so I began exploring other options.

I am aware of how to open a container file automatically using the computer's default settings for the file, but I  was wondering if someone could help me understand how to open the contents of a container with Preview for OSX.

Thanks for any insight you can give!

Link to comment
Share on other sites

I'm totally confused why you would do a "do shell script" followed by a "perform apple script"

Seems to me that would the obvious reason for the two instances.   Describe in plain english what you want to achieve and we can go from there....

Link to comment
Share on other sites

This topic is 3165 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.