Re: Filemaker Script
Re: Filemaker Script
- Subject: Re: Filemaker Script
- From: Leonide Principe <email@hidden>
- Date: Mon, 26 Jan 2009 16:34:40 -0430
Why use applescript for this?
FileMaker has a native import image folder routine, and fully scriptable selection of source folders.
You could use the first line of your applescript to get the path, but from there on FileMaker can do the job.
I want to avoid some options in the default FIleMaker dialog. The AppleScript give me more control about the operation: Import only as a reference and leave with the user only the choose folder option.
About the script trouble, I have solved it... just two little words... as string
tell application "FileMaker Pro Advanced" tell database "PhotoKey" do script "Create New Image Record" tell current record set the cellValue of cell "PathtoInternalDisplay" to this_file as string do script "Set New Image Record" end tell end tell end tell end repeat
It work fine, now. Sorry, I am new to AppleScripts and I have now another problem: If the script is executed from inside FileMaker it stop at the first record, It works only if I save the script as an application and I call it by an Apple Event. I am sure that the script is very simple, I would wish more control on errors...
Thanks for helping
Leonide Principe
Amazon Stock Photography
PhotoKey Solution Keywording, Tracking and Selling RM Photographs Community Forum
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden