Tell application "Finder" to set the name of PhotoFile to FilenameĪs you can see, it's quite a bit shorter in terms of the number of lines of code, though I couldn't honestly tell you which will be faster or more robust. > " - Schloßpark Nymphenburg - Munich, Bavaria.jpg" > "Schloßpark Nymphenburg - Munich, Bavaria" Text items -3 thru -2 of Filename as textĭo shell script "date -j -f '%B %d, %Y' " & quoted form of result & " '+%F'" "Schloßpark Nymphenburg - Munich, Bavaria, October 19, 2017.jpg" Tell application "System Events" to set Filename to name of PhotoFile Set ExportedPhotos to every file in ExportPath Set ExportPath to POSIX file "/path/to/exported/photos" as alias But, honestly, I would suggest the exporting be done just as you're doing it now-from within the application-and then use AppleScript to collectively rename/move them afterwards. video in iphoto, what is it importing, you you can create a folder in the finder menu. AppleScript could be used to automate the exporting process from Photos and then rename the files that are created in Finder. Is there an easy way to export all movies from iPhoto into iMovie. Whilst this isn't the solution you were asking for, an equivalent outcome could be achieved if you were willing to employ a bit of AppleScript. You could create a folder, then drag a single event to it, yes. So when you drag and drop photos from iPhoto to the Finder, you just get photos. The Mac file system just deals with folders and files. Q: Does someone know any way of exporting photos in more usable names? I'd appreciate any way that will at least improve the way I'm exporting now. The iPhoto library keeps photos in events and also there are tags, edited versions of photos, titles, etc. Which would allow easily sorting and structuring my photos. Schloßpark Nymphenburg - Munich, Bavaria I would really appreciate name like this: However such name is almost unusable because there is almost no way to filter all photos let's say from October 2017. Schloßpark Nymphenburg - Munich, Bavaria, October 19, 2017 Here is the example of folder name generated in this way: The only way I found so far is by using subfolder format with Moment Name which creates subfolders with name of the location and date I would also tolerate some folders structure with date information, but I haven't found any suitable way. Ideally I'd like to have filenames in with timestamp of a photo, something like: -12-05 but it is not possible with the Photos app. The problem is that there is no way of structuring them in a format that will allow to easily access them by date. I'm trying to export photos from iPhone using mac os Photos app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |