July 29, 201510 yr 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!
July 29, 201510 yr 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....
July 29, 201510 yr Author Newbies Hi Wim, thank you for replying. I would like to click a button next to a container field, and have the contents stored in the field to be opened using Quick Look.
Create an account or sign in to comment