FileMaker 7 Container Fields
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