dbhill Posted September 15, 2006 Share Posted September 15, 2006 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 More sharing options...
comment Posted September 16, 2006 Share Posted September 16, 2006 Try "moviemac:" instead of "Moviemac:"? Link to comment Share on other sites More sharing options...
dbhill Posted September 16, 2006 Author Share Posted September 16, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6607 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 accountSign in
Already have an account? Sign in here.
Sign In Now