Jump to content

Insert QuickTime script (Mac)


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

Recommended Posts

I want to script a Quicktime [PDF] insert into a container field [clinical::view_pdf] from a directory of PDF files residing at ~/desktop/docs/. On the same layout as the container field is a calc field [clinical::c_FilenameKey] with the filename in it.

Setting the variable, I want to tell Insert QuickTime to get the file that is the same as the calc field and insert into the container? Below is the script I'm using, but in the debugger I get the error message: "Insert QuickTime could not be completed." Need the eagle eye of someone wise in the ways of FileMaker.

Set Variable [$filePath; Value: Case ( Abs ( Get ( SystemPlatform ) ) = 1;"Moviemac:";"Moviewin:" ) & Get ( DesktopPath ) & "Docs/" & CLINICAL::c_FilenameKey]

Insert QuickTime ["$filePath"]

~Dennis

Link to comment
Share on other sites

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