Var tmpfile = Path("/Users/peter/Desktop/photos/" + filename) Var path = Path("/Users/peter/Desktop/photos") So here’s a try at a JavaScript that does just that: var Photos = Application("Photos") I wasn’t up to mystically incanting this in AppleScript, but I figured that I could give JavaScript a try, now that JavaScript is an equal scripting partner under macOS. The thing is, the right date is burned into the EXIF data in the photo itself, so I needed a way to say to all the affected photos “change your date to match what’s in the EXIF.” Because of various excavations of photos from platform to platform to platform (Flickr, OVI, Google Photos, iPhoto) over the years, now that I’ve settled on Apple’s ecosystem to maintain my photos, I’ve ended up with a bunch of photos that have the wrong date.īy “have the wrong date,” I mean, for example, “Photos thinks they’re from May 2020 when, in fact, I took them in March 2013.”
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |