Using ExifTool with Filemaker

Started by rwells1938, June 15, 2012, 01:37:49 PM

Previous topic - Next topic

rwells1938

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\"" & ΒΆ ]

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).