How to script Filemaker to Photoshop and back again!?

Here’s what I want to do:
In Filemaker Pro 6.0, (I can script anything in FM, but a newbie to Applescript!)
Copy an image container field,
Go to Photoshop 7.0,
create New file (it will size image file to clipboard contents),
then while dialog box is open,
go back to Filemaker,
copy name field,
go back to Photoshop,
Paste filename,
click OK,
go back to Filemaker,
copy image again,
go back to Photoshop,
paste,
run 2 Photoshop Action scripts (last one closes the file),
go back to Filemaker,
advance to next record,
do it all again!

From within a Filemaker script, I can run an Applescript, and I can create a looping script that will hit all the records. What I need help with is all the back & forth stuff, or a more direct way of doing it.

Also, will I be able to manipulate Filemaker from Applescript, or will I have to make several scripts that are triggered in sequence by each other?

Thanks,
Ken

Take a look at this topic. While not for Photoshop per se (it involves GraphicConverter instead), it could easily be adapted for PS and should give you a good start.

Jon

Looks perfect to me! I’ll give it a try tonight!

Ken

Hello SoCalMacDude,

Did it work for you, the script Jonn8 refers to works great for me but the images gets poor quality (only 16 or 256bit colour). How does it look in Photoshop?