Applescript and XMP faces

Having tech problems? Post them here and do not worry, there is always a solution for you.
Post Reply
billiesoniq
Posts: 2
Joined: Wed Sep 04, 2019 5:01 am
Country: USA

Applescript and XMP faces

Post by billiesoniq » Wed Sep 04, 2019 5:05 am

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?

User avatar
forum_adm
Site Admin
Posts: 638
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Applescript and XMP faces

Post by forum_adm » Wed Sep 04, 2019 9:31 am

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 74 times
Thorsten

billiesoniq
Posts: 2
Joined: Wed Sep 04, 2019 5:01 am
Country: USA

Re: Applescript and XMP faces

Post by billiesoniq » Mon Sep 09, 2019 10:08 pm

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.

User avatar
forum_adm
Site Admin
Posts: 638
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Applescript and XMP faces

Post by forum_adm » Tue Sep 10, 2019 8:05 am

Hi,

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

Thorsten

Post Reply