• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filemaker Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filemaker Script


  • Subject: Re: Filemaker Script
  • From: Leonide Principe <email@hidden>
  • Date: Mon, 26 Jan 2009 16:34:40 -0430


On Jan 25, 2009, at 3:30 PM, email@hidden wrote:

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
Welcome Page: http://www.leonideprincipe.com
Archive: http://www.photoshelter.com/c/principe/

PhotoKey Solution
Keywording, Tracking and Selling RM Photographs
http://www.leonideprincipe.com/photokey/
Community Forum
http://www.leonideprincipe.com/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

  • Follow-Ups:
    • Re: Filemaker Script
      • From: Bruce Robertson <email@hidden>
    • Re: Filemaker Script
      • From: CYB <email@hidden>
  • Prev by Date: Re: Employing AppleScript writers
  • Next by Date: Re: Name only of app
  • Previous by thread: Re: Filemaker Script
  • Next by thread: Re: Filemaker Script
  • Index(es):
    • Date
    • Thread