ExifTool Forum

ExifTool => Developers => Topic started by: rwells1938 on June 15, 2012, 01:37:49 PM

Title: Using ExifTool with Filemaker
Post by: rwells1938 on June 15, 2012, 01:37:49 PM
I am trying to get a apple script to run exiftool form within Filemaker. I have most of it working but discovered a problem with spaces. I am working on a Mac using FileMaker 12.

This is the script line. If any of the fields have words followed by a space only the first word is put into the tag. All of tags are working the same.

Any suggestions would be appreciated.
Roger

Example: If $Where contains Lexington, Kentucky then only Lexington,  will be written to the Location tag.

Perform AppleScript [ Calculated AppleScript: "do shell script \"exiftool -overwrite_original_in_place -Keywords=" & $KeyWord & " -Description=" & $Description & " -Headline=" & $Event & " -Created=" & $When & " -Location=" & $Where & " " & $Path & " | pbcopy\"" & ΒΆ ]
Title: Re: Using ExifTool with Filemaker
Post by: Phil Harvey on June 15, 2012, 06:22:41 PM
In AppleScript, you should use the "quoted form of" any argument which may contain characters with special meanings on the command line (like spaces).

- Phil