Jump to content

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

Recommended Posts

Posted

Hi,

I am new to FMP, and was wondering if it is possible to make a button such that when I click on the button, a file opens up in Picture Viewer. I am new to Macintoshes too, and don't know how File paths are defined in Macs. I tried using a script for opening a file, but don't know how to specify the file path name. Also, I am using a database with thumbnails of pictures, and want a button under each thumbnail which launches a full sized picture which is in another folder.

I am using FMP 5.5v2 and MAc OS 9.2

Thanx

Shaunaq

Posted

I am not familiar with picture viewer but i do something similar with scanning documets, and in FMP5 listing them by title and ID number in one FMP5 file and storing the address in containor fields in anothre FMP5 file.

Try the following:

Create a container field, where the addresses for the picures will be stored, in the record for each picture. If each record will have more than one picture, it would be better to make a separate file for the picture ID's (thummbnail...) and another for the container fields. This other file is related to the first via the picure ID, (for my uses is have a autoentered record number field in the file having the ID's).

In the file containing the picure ID's (thumbnail?), make a script

1- makes a new record in the containor field FMP file and inserts the unique picture ID number.

2- "send apple event" (then define open a file, then define picure viewer) ; here you would do what ever picture viewer does to insert a picture into a folder on the hard drive.)

3- go to field (ContainerFile::container field1), (a related container field)

4- insert picture (as an address, since FM files hold up to 2 gig, storing as pictures will eat up memory in the FM file.)

Hope this helps. Good luck.

(where's the spell checker??)

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