Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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!

Posted

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....

  • Newbies
Posted

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. 

This topic is 3396 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.