• 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
Re: setting FM container cell to an Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting FM container cell to an Image


  • Subject: Re: setting FM container cell to an Image
  • From: Gary Hobish <email@hidden>
  • Date: Wed, 08 Nov 2000 08:04:29 -0800

on 11/7/00 2:47 PM, email@hidden wrote:

> Message: 15
> From: "Goodman, Steve" <email@hidden>
>
> Hopefully there is an easy answer to this that I am just missing. I'm try
> ing to set a cell value to an eps image. Sounds easy enough. Here is what I
> have:
>
> set x to choose folder
> set filelist to list folder x without invisibles
> repeat with i from 1 to count of filelist
> tell window 1 of application "FileMaker Pro"
> activate
> set newrecord to create new record
> set cell "ImageName" of newrecord to item i of filelist as text
> set cell "Imagepath" of newrecord to (x & item i of filelist) as
> string
> set cell "Image" of newrecord to file ((x & item i of filelist) as
> string)
> end tell
> end repeat
>
>
> When I set the cell "Image" to the file it actually sets it to a reference
> of the file. The picture shows up correctly but it is linked to the image
> and not actually embedded in the database. Is there a way to set the cell to
> the image just as you would do an import of a picture to a container without
> the "store only a reference to the file" checked??
>
> Thanks in advance!
>
> Steve Goodman
> Six|12 - THE LTC GROUP
>

Steve,

I've just been through the same thing...

You cannot insert an image through Filemaker's image filters from an
applescript. You can only import PICT images. EPS, JPEG, TIFF and others can
only be referenced.

Gary Hobish
Armin Hammer Productions
San Francisco


  • Prev by Date: Re: Automate zip archives
  • Next by Date: Unsing Function Keys with AppleScripts
  • Previous by thread: setting FM container cell to an Image
  • Next by thread: Scripter (The Program)
  • Index(es):
    • Date
    • Thread