Q: Photos : change title of several pictures Applescript error
Hello,
My problem is that Photos does not support Several Pictures title change .... I am waiting El Capitan to provide this functionality. In the meantime, I am trying Applescript to do it myself.. There are a lot of articles and solution like Batch Changes in Photos for Mac: Change the titles to a Given String.. Thanks to the author... It works fine on one Mac I have BUT on the other Mac with my Photos Library I got the following error :
tel
tell application "Photos"
get selection
--> {media item id "ZRc4fsCATY6Hwr0noYG3Qg"}
get filename of media item id "ZRc4fsCATY6Hwr0noYG3Qg"
--> error number -10000
Résultat :
error "Erreur dans Photos : Le gestionnaire AppleEvent a échoué." number -10000
GOOGLE translates it to "Error in Photos: The AppleEvent manager failed."
My Applescript code is easy, you just need to select one pic in Photos to use it.
tell application "Photos"
set selected to selection
repeat with img in selected
set oldName to the filename of img
log oldName
end repeat
end tell
How can I get deeper to understand what is wrong ? I suspect rights/privileges problem, or write permissions on pictures, or OS X update to redo ... please help.
How to change the message label from french to the english to be understood here ?
Thank in advance
MacBook Pro, OS X Yosemite (10.10.5), null
Posted on Sep 4, 2015 11:47 PM