PDA

View Full Version : Remove screenshots on Startup?




maxswisher
Sep 3, 2011, 12:53 PM
I take a lot of screenshots, and I never need them after I reboot. I want to store them in a separate folder (I can use something like Secrets.prefpane or other things to change the screenshot save folder) and have the contents of that folder be deleted on startup.

How would I do this?

I know it's somehow possible, as application Caches are always cleared on startup.

Thanks for the help!
-Max



rorschach
Sep 3, 2011, 03:04 PM
Perhaps an Automator script? Open Automator, create an "Application" and use:

1. Get specified Finder items.
2. Move Finder items to Trash.

Then put it in your Login Items (in the Users & Groups prefpane).

maxswisher
Sep 3, 2011, 03:41 PM
That's a great idea. I'll try that.

----------

Perhaps an Automator script? Open Automator, create an "Application" and use:

1. Get specified Finder items.
2. Move Finder items to Trash.

Then put it in your Login Items (in the Users & Groups prefpane).

Works perfectly! I added in the end another action to recreate the empty folder. In the end it looks like this:
http://cl.ly/9qRP/Screen_Shot_2011-09-03_at_1.40.08_PM.png

Thanks! :D