Re: Import a picture into FileMaker without osax
Re: Import a picture into FileMaker without osax
- Subject: Re: Import a picture into FileMaker without osax
- From: Jean-Marie Hoornaert <email@hidden>
- Date: Sat, 22 Sep 2001 00:49:24 +0200
le 22/09/01 0:20, Steven Angier a ecrit :
>
> Is it possible to import pictures (and not only a reference to this
>
> pictures) in a container field of FileMaker WITHOUT using third party
>
> osaxen.
>
> Only the Finder or Apple's "osaxen".
>
>
You don't actually need any OSAXen to do this. Try the following syntax:
>
>
tell application "FileMaker Pro"
>
tell document 1
>
tell record 1
>
set cell "Picture" to file "Macintosh HD:folder1:somefile.gif"
>
end
>
end
>
end
With this script, and with the example script provide with de application,
you can only import "a reference to" the picture.
If the original picture is delete, then, FileMaker don't display this
picture yet.
--
Cordialement (cordially)
____________________
Jean-Marie -HOO;-)
____________________
Jean-Marie Hoornaert
email@hidden
http://www.h2o.be
AppleScripting FileMaker
French web site