Need an album showing Landscape photos only. Does this old script still work?

I found a post that gave a script that worked until at least Mojave, but I'm on Big Sur. Sorry I don't know how to actually link to it. This was the title:


Script: Sort Panoramic-Landscape-Portrait-Square Photos, 2019 Version


The thread was closed so I couldn't ask there.


Or does anyone know an easy way to do this? I'm setting up a photo frame as a gift and this would really help.



Posted on Oct 23, 2021 10:53 AM

Reply

Similar questions

4 replies

Oct 24, 2021 5:30 AM in response to tanstaafl_42

You are asking about this script? Script: Sort Panoramic-Landscape-Portrait-Square Photos 2019 Version


The scripting changed a lot between Mojave and Catalina, and it is not easy to adapt the old scripts.


I am still using my old scripts, but the photos have to be passed to the script, by selecting the items in a standard top level album or in "All Photos". None of my older scripts will work on the newer system versions, if the items are selected in a smart album or an album inside nested folders. It would need a lot of extra code to allow the selection in nested folders and this will also make the scripts slow. I tested this for this script: Photos 5.0 on Catalina: How to get a list… - Apple Community (snails are faster than this script).


When you are in doubt, if a script is safe to use, don't run it on your main Photos Library until you have tested it on a small test library. And better make a current backup of your your library before trying to run scripts written by others.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need an album showing Landscape photos only. Does this old script still work?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.