Jump to content
Sign in to follow this  
ausbob

opening files

Recommended Posts

I'm not sure if I am in the right forum however I am trying to open an image file in its own program through a filemaker script. Is this possible

Share this post


Link to post
Share on other sites

What is the image program/file path?

Is the image in a container field or is it a reference to an image file?

Does the image file have any reference to FileMaker?

Share this post


Link to post
Share on other sites

The image is in a container field linked via imagewin:c:/images/filename. I dont really understand what you mean by "the image has any reference to filemaker, but my guess to this would be no.

Share this post


Link to post
Share on other sites

You can use something similar to...

Open URL[No dialogue; Trim( Substitute( Substitute( MiddleValues ( Image::Image_c ; ValueCount( Image::Image_c ) ; 1 ) ; "imagewin:/" ; "" ) ; "¶" ; "" ) )]

or something similar to...

Send Event["aevt"; "odoc";

""" & "C:/Program Files/QuickTime/PictureViewer.exe" & "" "" & Trim( Substitute( Substitute( MiddleValues ( Image::Image_c ; ValueCount( Image::Image_c ) ; 1 ) ; "imagewin:/" ; "" ) ; "¶" ; "" ) ) & """ ]

Share this post


Link to post
Share on other sites

Thank you for your reply sorry I have taken so long to post I have been away the last 4 days

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.