FM insert Picture
FM insert Picture
- Subject: FM insert Picture
- From: Max Bonilla <email@hidden>
- Date: Sun, 15 Jul 2001 15:05:49 -0500
I sent this already, but I believe I might have had a problem with my
server and did not receive any messages for a few days. Perhaps
someone had responded and I was not able to read the message. So
here it goes again. Sorry for the double post and thanks for the
help.
I'm trying to insert a picture to a FM database but no matter how I
try I get an error.
tell application "FileMaker Pro"
set LifeTeenPictures to alias "MacintoshHD:Dumping
Ground:Kodak Darkroom:LifeTeen Pictures:"
set PhotoName to "0687.JPG"
set PhotoStorage to LifeTeenPictures & PhotoName as string
set PhotoStorage to a reference to file PhotoStorage
set cell "Picture" to PhotoStorage
set PhotoStorage to cell "Picture"
end tell
The name of the picture will change as the script runs, so I need to
find a way to make PhotoStorage a file reference that FM will
appreciate. Any help will be much appreciated. Thanks a million!
Max