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

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

Recommended Posts

Posted

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

Posted

Comment: you are indeed the perspicacious eagle-eye to catch this case error. Changing to "moviemac" and "moviewin" in the parameter setting allows everything to work perfectly. Thank you so very much.

~Dennis

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