Re: FMPro Image Import problem
Re: FMPro Image Import problem
- Subject: Re: FMPro Image Import problem
- From: ehsan saffari <email@hidden>
- Date: Tue, 12 Mar 2002 13:30:28 -0600
On 12/03/2002 "Timothy K. Wilkinson" <email@hidden> wrote:
>
I'm working on an script to import thousands of images into an FMPro
>
database. I've got the script running well except for one small problem.
>
When the images are imported into the field it apparently only imports a
>
reference. When the Windows users open the database they see nothing
>
although the Mac users see all.
>
>
The syntax I'm using is:
>
>
tell application "FileMaker Pro"
>
set new_record to create new record in database the_database
>
set cell the_picture of new_record to file path_name
>
set cell the_name of new_record to path_name
>
end tell
>
>
I'm new to FMPro scripting. Is there a way to actually import the picture
>
file directly into the database? I know it will make a huge file but that's
>
ok. We found if we use the Import command from the menu it imports
>
correctly. I've tried using the "do menu" command but I'm not getting the
>
syntax right at all.
>
>
Any help is greatly appreciated!
Hi
Using the syntax "file path_name" will only import references.
but more info is needed...
1- what format are the images?
2- Did you try checking the "Store Compatible Graphics" in document prefs
so images will be visble on Windows too? (needs to be checked before
importing, will not affect existing images in the db)
3- Is the AS embedded in the db or is it a standalone applet?
cheers
ehsan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.