RhetTbull / PhotoScript

Automate Apple / MacOS Photos app with python. Wraps applescript calls in python to allow automation of Photos from python code.
MIT License
49 stars 5 forks source link

PhotosLibrary().selection hangs if nothing selected #30

Open RhetTbull opened 2 years ago

RhetTbull commented 2 years ago

At least on Catalina, PhotosLibrary.selection appears to hang (never returns) if nothing was selected.

RhetTbull commented 5 days ago

On Ventura this works fine -- returns an empty list.