Photos Upload Script
Script and photos
I have a folder action script which imports images added from third party software automatically into Photos. However, the script fails if multiple images are added to the folder, returning the message "Another import session is in progress."
Any ideas on how to check if there is an import in progress and wait until the import completes before trying to upload a photo?.