Page 1 of 1

Applescript and XMP faces

Posted: Wed Sep 04, 2019 5:05 am
by billiesoniq
GC has a great XMP face detector now, and it seems to store all the names correctly. I would like to use applescript to take the names from a photo and add them to the TAGS in macOS.

Is there any way to extract the XMP names from a file into a variable in applescript?

Re: Applescript and XMP faces

Posted: Wed Sep 04, 2019 9:31 am
by forum_adm
Hi,

this is not supported via AppleScript.

But I added a context menu command to the latest BETA:
http://www.lemkesoft.org/beta.html
Screen Shot 2019-09-04 at 09.30.14.jpg
Screen Shot 2019-09-04 at 09.30.14.jpg (293.8 KiB) Viewed 3040 times
Thorsten

Re: Applescript and XMP faces

Posted: Mon Sep 09, 2019 10:08 pm
by billiesoniq
So, using applescript IS possible, if that exists in a REAL MENU when the file is open; IE:

Code: Select all

tell application "System Events" to tell process "GraphicConverter 11"
    set frontmost to true
  tell menu bar item "File" of menu bar 1
        click
        click menu item "Open With" of menu 1
end tell 
...etc.

Re: Applescript and XMP faces

Posted: Tue Sep 10, 2019 8:05 am
by forum_adm
Hi,

ah - yes - you can use the system events.
The item is in the menu bar, too.

Thorsten