-
I see osxphotos is able to access hidden photos, including hidden photos from a specific album, which is great. Example: I would like to go one step further, and modify the "hidden" status for photos. Example: However, as I write this, I now see the batch-edit cmd currently requires the user to first select the target photos in Apple Photos, then run this command; there is no way to specify target photos directly within the command. I'm curious as to the limitations you've found here...
Said differently, what blockers prevent the below queries from being possible? Apple just doesn't allow these types of actions outside of their official apps?
I would love to help if I can. For me personally, the ability to update/modify/delete photos would bring this project from "occasionally useful" to "I use it daily!" Related discussions I've found: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I do plan to allow I will eventually add support for deleting assets but that's awaiting several other changes I am working on.
I don't plan to add a |
Beta Was this translation helpful? Give feedback.
osxphotos batch-edit
currently only works on the selection as you've noted. The actual edits are performed via the Photos AppleScript interface (so osxphotos is effectively "driving" Photos to make the changes). This is the only officially supported way to do some of these changes. It does not currently supporting hiding or unhiding photos. It is possible to programmatically change the hidden status but Apple insists on prompting the user so you still get an annoying dialog box asking for confirmation. That can be worked around using some hacks but it's a pain.I do plan to allow
batch-edit
to eventually be used without a current selection (see #1762 for example).I will eventually add su…