Hello!
I would like to ask for some guidance on development documentation for writing a simple script for accessing my photos library using an apple script.
I want to go through albums AND folders but I'm not very familiar with apple script nor photos objects. I only have this script which used to iterate through all my albums regardless the folder they were living in.. but apparently since Catalina, albums inside folders are no linger visible through the albums array/list/whatever.
I have this fragment:
But it only shows one album which is the only album in the root of the library that is not inside a folder.
I would love if you could point me in the right direction to fix and continue my work.
Thank you.
Angel.
I would like to ask for some guidance on development documentation for writing a simple script for accessing my photos library using an apple script.
I want to go through albums AND folders but I'm not very familiar with apple script nor photos objects. I only have this script which used to iterate through all my albums regardless the folder they were living in.. but apparently since Catalina, albums inside folders are no linger visible through the albums array/list/whatever.
I have this fragment:
Code Block tell application "Photos" log " Inside Photos App" set albumsCount to count every album log " There are " & albumsCount & " albums in your Photos library" set albumIndex to 1 repeat with albumObject in albums
But it only shows one album which is the only album in the root of the library that is not inside a folder.
I would love if you could point me in the right direction to fix and continue my work.
Thank you.
Angel.