- Code: Select all
tell application "Finder" to set imageList to selection as alias list
tell application "Photos"
import imageList into container "TestAlbum"
end tell
If I use 'theFile' in Hazel it processes each image one by one (and shows the single last image in 'Last Import' instead of the whole batch of images that were imported).
- Code: Select all
tell application "Photos"
import theFile into container "TestAlbum"
end tell
I'd like to run it as a batch on the folder of images, so it shows them all in 'Last Import'.
What would be the best way to do this? (I'm not sure if the best way would be to alter the script, and/or use 'Run rules on folder contents'.)