• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FileMaker 7 Container Fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileMaker 7 Container Fields


  • Subject: FileMaker 7 Container Fields
  • From: Todd Geist <email@hidden>
  • Date: Sun, 20 Mar 2005 14:07:54 -0800

Hello Everyone,

I have seen scripts such as the one below for inserting JPEGS into FileMaker
6 container fields. Can any file type be inserted in a similar manner?
FileMaker 7 Container fields can now hold any file type so it would be nice
if I could use a similar technique with files like word docs, etc.

In short is there a way to read ANY file of the disk into Applescript and
then set it into a Container Field in FileMaker 7

Thanks for all your help.

Todd



--Script that works in 6 for images

set myJPEGFile to choose file
set myRef to open for access myJPEGFile
set myImage to read myRef as "JPEG"
close access myRef

tell application "FileMaker Pro"
        tell database 1
                tell record 1
                        set cell "Image" to myImage -- "Image" is a
container field
                end tell
        end tell
end tell


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: FileMaker 7 Container Fields
      • From: Bruce Robertson <email@hidden>
  • Prev by Date: Re: Image Events droplet
  • Next by Date: Re: Setting Safari's Homepage
  • Previous by thread: Re: Image Events droplet
  • Next by thread: Re: FileMaker 7 Container Fields
  • Index(es):
    • Date
    • Thread