Jump to content
Server Maintenance This Week. ×

applescript with Imagine Photo


This topic is 4946 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi everybody!

I am pretty new on mac and filemaker developping, I need to read the GPS exif data from a picture to fill in a cell in my database in filemaker.

The plan was to use Imagine photo through an applescript and execute it with the 'Perform Applescript' in Filemaker.

When I run the applescript in the Applescript editor, it works correctly.

When I try to copy past the applescript, in filemaker, with the 'Perform Applescript' option, checking the box 'native applescript', I get an error of sintax on the script.

Let's try with the following simpler script, I get the error "Expected end of line, etc. but found identifier" on the word 'graphic' of the import graphic line:

tell application "iMagine Photo"

set thisFile to choose file with prompt "Choose an image file containing exif data:" without invisibles

set thisImporter to import [color:red]graphicthisFile

set exifInfo to the exif data of thisImporter

close thisImporter

quit

end tell

I have no idea of what's happening, as this same script execute well on the applescript editor.

Does anybody has an idea?? or something that I could try to avoid this problem???

Thanks so much!!! I am waiting for your answers!!! please please!

thanks

Link to comment
Share on other sites

This topic is 4946 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.