Re: FMPro Image Import problem
Re: FMPro Image Import problem
- Subject: Re: FMPro Image Import problem
- From: Ray Robertson <email@hidden>
- Date: Tue, 12 Mar 2002 15:36:05 -0500
Tim Wilkinson said...
>
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.
There's a tricky way to do it, since there is no option to embed an image
via AS only.
Create a FileMaker "Import Picture" script, and specify a dummy graphic,
unchecking the option to store it as a reference only. Then use AppleScript
to repeat through each graphic you need, temporarily naming one at time to
the dummy name/filepath, and use "do script" to invoke the FileMaker script
to import that graphic.
You could still store the final filepath of the image in a text field, if
needed. But since the graphic itself is stored in the database, it doesn't
matter what it is named or where it is stored when the FM script imports it.
Ray Robertson
Scripting Matters, Inc.
http://www.scriptingmatters.com/
_______________________________________________
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.