macos screen dump straight to photos app

are there any good third party apps, that allow you to send screen dumps straight to the photos app?

At the moment I am using the "Snappy". It stops the dumping of screen dumps on my desktop, but unfortunately I have to manually send photos to the photos app, one at a time, which is tedious.


Any suggestions appreciated

MacBook, macOS High Sierra (10.13.3)

Posted on Sep 28, 2018 10:13 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 28, 2018 5:13 PM

You can create an Automator action. Automator was created to deal with these tedious repetitive tasks (the kinds of things computers were made to handle.)


First, create a new folder on your mac to be the destination for screenshots and use the "defaults write com.apple.screencapture location" command (just as in leroydouglas' example above) but set your own folder; don't use the Photos library as the folder. Photos wants things in that Photos library organized in a particular way. The Automator action will tell Photos to import your folders to they go into the library in the way Photos requires.


  1. Launch Automator (it's in your Applications folder)
  2. It will likely prompt you for the type of Automator action you want to create, but if it does not, select "File" -> "New" and the type of action you want is a "Folder Action"
  3. The top of your new action (the empty panel on the right side of the Automator window) will start with "Folder Action receives files and folders added to" and you need to pick the "Choose Folder" menu, pick "Other..." and select a folder (you'll find the familiar file navigator window and you can also tell it to create a new folder.)
  4. In the far left column (under the "Library" section) pick "Files & Folders"
  5. In the next column to the right, grab "Get Folder Contents" and drag that with your mouse into the blank action list on the right (I'll give you a screenshot of this). (That's the first step done ... now we just need to add it to Photos)
  6. In the far left column, this time pick "Photos"
  7. In the next column to the right, grab "Import Files into Photos" and drag that with your mouse to the action list and drop it below the "Get Folder Contents" step. They will automatically link up.
  8. You have a few choices, as to where these go in the Photos app. While you can choose "Import without adding to album", that's a messy choice. I created an Album in Photos called "Screen Shots" and in the Automator action step, I chose "Add to existing top-level album..." and then chose the "Screen Shots" album.
  9. Select "File" -> "Save" and give the automator action a name (I used "ScreenShots to Photos")
  10. Quit Automator


That's it... now anytime an screenshot shows up in that folder, it will get imported to Photos in the album or your choice.


Automator wont delete the images from that designated Finder folder (that's up to you) but it will (by default) check for duplicates and wont re-import a duplicate. So if you don't need the individual screen-shot files after you import them, you might want to empty that folder to trash.


Your Automator action should look like this when you're finished. Note that I've circled a few things... don't forget to set the folder you want to use as the trigger... and the destination location within Photos (e.g. if you send them all to an album.)


User uploaded file


This will probably "just work". But what if it doesn't? What could have gone wrong?


If the Automator action doesn't work, it may be that you've disabled them. To check, open Finder, navigate to the folder you've selected to trigger the action, and right-click (or control-click) to open the pop-up menu.


Near the bottom of the pop-up menu, pick "Folder actions setup..."


The first thing to verify is that the "Enable Folder Actions" check-box is ticked on.

Next, verify that your designated folder (in my example it's the "ScreenShots" folder is is on the list of "Folders with Actions" (left column) that actually have an action associated with it.

Lastly, make sure your Automator action (in my example it's "ScreenShots to Photos" is in the "Script" list (right column) and that the tick-marks are checked meaning they are switched on. (you could turn the action off just by un-checking it... or highlight the step and hit the "-" icon at the bottom of the column to delete it.


User uploaded file


That's it!

Similar questions

12 replies
Question marked as Top-ranking reply

Sep 28, 2018 5:13 PM in response to rossb2

You can create an Automator action. Automator was created to deal with these tedious repetitive tasks (the kinds of things computers were made to handle.)


First, create a new folder on your mac to be the destination for screenshots and use the "defaults write com.apple.screencapture location" command (just as in leroydouglas' example above) but set your own folder; don't use the Photos library as the folder. Photos wants things in that Photos library organized in a particular way. The Automator action will tell Photos to import your folders to they go into the library in the way Photos requires.


  1. Launch Automator (it's in your Applications folder)
  2. It will likely prompt you for the type of Automator action you want to create, but if it does not, select "File" -> "New" and the type of action you want is a "Folder Action"
  3. The top of your new action (the empty panel on the right side of the Automator window) will start with "Folder Action receives files and folders added to" and you need to pick the "Choose Folder" menu, pick "Other..." and select a folder (you'll find the familiar file navigator window and you can also tell it to create a new folder.)
  4. In the far left column (under the "Library" section) pick "Files & Folders"
  5. In the next column to the right, grab "Get Folder Contents" and drag that with your mouse into the blank action list on the right (I'll give you a screenshot of this). (That's the first step done ... now we just need to add it to Photos)
  6. In the far left column, this time pick "Photos"
  7. In the next column to the right, grab "Import Files into Photos" and drag that with your mouse to the action list and drop it below the "Get Folder Contents" step. They will automatically link up.
  8. You have a few choices, as to where these go in the Photos app. While you can choose "Import without adding to album", that's a messy choice. I created an Album in Photos called "Screen Shots" and in the Automator action step, I chose "Add to existing top-level album..." and then chose the "Screen Shots" album.
  9. Select "File" -> "Save" and give the automator action a name (I used "ScreenShots to Photos")
  10. Quit Automator


That's it... now anytime an screenshot shows up in that folder, it will get imported to Photos in the album or your choice.


Automator wont delete the images from that designated Finder folder (that's up to you) but it will (by default) check for duplicates and wont re-import a duplicate. So if you don't need the individual screen-shot files after you import them, you might want to empty that folder to trash.


Your Automator action should look like this when you're finished. Note that I've circled a few things... don't forget to set the folder you want to use as the trigger... and the destination location within Photos (e.g. if you send them all to an album.)


User uploaded file


This will probably "just work". But what if it doesn't? What could have gone wrong?


If the Automator action doesn't work, it may be that you've disabled them. To check, open Finder, navigate to the folder you've selected to trigger the action, and right-click (or control-click) to open the pop-up menu.


Near the bottom of the pop-up menu, pick "Folder actions setup..."


The first thing to verify is that the "Enable Folder Actions" check-box is ticked on.

Next, verify that your designated folder (in my example it's the "ScreenShots" folder is is on the list of "Folders with Actions" (left column) that actually have an action associated with it.

Lastly, make sure your Automator action (in my example it's "ScreenShots to Photos" is in the "Script" list (right column) and that the tick-marks are checked meaning they are switched on. (you could turn the action off just by un-checking it... or highlight the step and hit the "-" icon at the bottom of the column to delete it.


User uploaded file


That's it!

Sep 28, 2018 12:50 PM in response to rossb2

Independent of any third party app, did you try defaults write command in Terminal and see if it works?

report back your success or failure.


launch from Applications/Utilities/Terminal.app> copy and paste:


defaults write com.apple.screencapture location ~/Applications/Pictures/Photos\ Library.photolibrary && killall SystemUIServer

ref: https://www.lifewire.com/change-location-and-file-format-for-mac-screenshots-226 0844

Sep 30, 2018 1:44 PM in response to TheVirtualTim

thank you very much for your detailed post. I upgraded to Mojave at the weekend and have been trying this out. The good thing about Mojave, is you can set a location for screen shots from the GUI, with ctrl+shift+5. I am sending screen shots to a folder called screenshots in documents. The Automator is set to get folder contents, then import files to photos as suggested. I set to show the action when the workflow runs, and it does indeed run. Unfortunately the screen shots in the screenshots folder never arrive in photos. I have checked the folder actions setup


User uploaded file

User uploaded file

Sep 30, 2018 2:19 PM in response to TheVirtualTim

did some more testing, i found that when running manually in the automator, the automator suggested this


User uploaded file


so i added "get specified finder items" in , and could run a manual test, but it does throw an error on the photos task, but still imports okay.


I then left the get specified finder items part in, despite the suggestion i dont above. It now works (but does not mention the error in auto mode.)


User uploaded file


I am pleased i got this working, but it has been a bit difficult, took me around 1 hour 15 minutes to get working.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macos screen dump straight to photos app

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.