-
All replies
-
Helpful answers
-
-
-
May 30, 2016 5:50 PM in response to socratiesby Jacques Rioux,Hi,
socraties wrote:
This is exactly what I am looking for. Thank you! I do run into a problem where the script errors out after about 3200 photos and the PHOTOS-Albums folder on my desktop reaches about 14GB. Here's a screen shot from Automator. Any ideas what might be going wrong?
The default time out is 2 minutes, an error occurs when a command takes more than 120 seconds
You have a lots of photos in an album, so it take more than two minutes to export it on the disk.
To prevent this:
You can increase the time, like this (ten minutes in this example):
--------
with timeout of 600 seconds -- error when the export command takes more than 10 minutes
export (get media items of ........
end timeout
-------
Or, to avoid the time out error, use this:
------
with timeout of 0 seconds -- avoid the time out error
export (get media items of ........
end timeout
------
-
May 31, 2016 11:07 AM in response to Jacques Riouxby socraties,Thank you. This worked. I also found your other script that created nested folders.
-
May 31, 2016 4:32 PM in response to Jacques Riouxby socraties,Jacques - This script works great and created nested folders with my photos. It didn't time out with that extra line added to the script. I notice the date create on the exported photo is today's date. Is there anyway to retain the original create date of the photo on the export?
-
May 31, 2016 4:44 PM in response to socratiesby LarryHN,You are confusing the file date with the photos date - the photo date is included in the Photo in the EXIF/IPTC data - if you open the photo in a photo program like Preview you will see the photo date - if you look at it in the finder (a file manager) you will see the file date - like the postmark date on an envelope is the date the letter was mailed and the date on the letter in the envelope is the date the letter was written - two totally different things
LN
-
May 31, 2016 4:47 PM in response to LarryHNby socraties,Yes, I see that you are right. The DateTime(s) in the Preview.app Inspector reflect the correct dates. Whew!
-
Jun 23, 2016 11:01 PM in response to Jacques Riouxby Jagat Pal Singh,Thanks Jacques,
Script worked very well.
-
Aug 20, 2016 7:02 AM in response to isra_BCNby Mteplitsky,I was excited to find the script for exporting Photo albums, but running into two surprises:
1. My Script Editor is in iCloud, not on Desktop (though i don't know if it matters),
2. I copied the script into Script Editor, substituting the name of my home folder for "home."
When I attempt to save it, I get
SYNTAX EDITOR
A “"” can’t go after this identifier.
Any advice appreciated! Thanks.
-
Sep 21, 2016 11:38 AM in response to Jacques Riouxby pinocativo,Hello Jacques,
thanks for your script.
Can you please advise if it does work with OS X Sierra?
Thank you so much,
daniele
-
Sep 21, 2016 12:13 PM in response to Jacques Riouxby pinocativo,Hello,
can you please advise what "if you want the originals" mean?
Thank you so much.
daniele
-
Sep 22, 2016 2:24 AM in response to isra_BCNby dachu,Hello,
Thank you so much for your script
Is it working with Sierra?
My final goal is to use your script to perform a sync from my Photos Library on my Mac to my NAS on my local network. So I'll need to modify your script to check before copying the file if it exists already or not, and if so, if it has been modified since the last sync or not. Depending on that, the file will be copied or not.
The main issue that I see is how can I remove the files on my NAS which have been removed from my Photos Library !? Maybe with a second script which could compare both structures and remove the files on the NAS which are not in the Photos Library.
Any idea of how I could modify the script to have this working?
Thank you very much.
Best regards,
Damien
-
Sep 22, 2016 6:49 AM in response to pinocativoby Jacques Rioux,Hello,
pinocativo wrote:
Hello,
can you please advise what "if you want the originals" mean?
originals mean: the original version of your photo with no edits applied
pinocativo wrote:
Hello,
Can you please advise if it does work with OS X Sierra?
I don't know, I have not yet installed Sierra.
-
Sep 22, 2016 2:54 PM in response to Jacques Riouxby pinocativo,Thanks for replying.
As your script is very important to us, would you please let us know if it is Sierra compatible, once you have installed it?
Many thanks for your help, daniele
-
Sep 23, 2016 4:37 PM in response to Old Toadby Big9erFan,I've been using the script to export albums now for a bit and it works great.
We recently replaced our old iPhones with the new iPhone 7, and that's been causing a small problem. It seems the export is actually exporting a JPEG with the MOV still embedded in it, (guess based on the size). Is there a way to make sure the export doesn't include that? If I do a manual export I can get it to export the file fine, but I have no idea what parameters to change in the script to try to get this behavior (and I've been searching for a bit now).
Thanks in advance.

