Subject22 Posted April 7, 2013 Posted April 7, 2013 (edited) I like to keep my computer tidy and that means that I often shift the contents of ~/Downloads to the Trash. Doing things manually is so last year, so I made a simple workflow to automate the process. Download: Trash Downloads Keyword: trash downloads Edited June 9, 2013 by Subject22 Ddyracer 1
Ddyracer Posted April 7, 2013 Posted April 7, 2013 I like to keep my computer tidy and that means that I often shift the contents of ~/Downloads to the Trash. Doing things manually is so last year, so I made a simple workflow to automate the process. Download: Clear Downloads Keyword: clear Good workflow, would love to see a clear desktop workflow that isn't deskdrawer, i dislike it it's too messy and i don't like that it clearly shows in finder where it's located.
Subject22 Posted April 7, 2013 Author Posted April 7, 2013 (edited) That's not hard at all :-) Below is a version which contains a duplicate path which clears the Desktop. I considered making it possible to specify any folder, but I was concerned about the potential for disaster if someone spelled a folder's name incorrectly. This version keeps it simple. desktop clears ~/Desktop, downloads clears ~/Downloads. Download: Clear Downloads & Desktop Keywords: desktop, downloads I am now out of posts for the next 18 hours or so, so I'll get back to you with any replies tomorrow :-) Edited April 7, 2013 by Subject22
parekh Posted April 12, 2013 Posted April 12, 2013 Thanks so much for this workflow! Do you think this workflow could also have a feature to empty trash?
Subject22 Posted April 12, 2013 Author Posted April 12, 2013 (edited) No problem :-) You know about Alfred's built in feature for emptying the trash don't you? The keyword emptytrash will do that for you :-) But if you want this workflow to automatically empty the trash after clearing your downloads folder, find it in Alfred, double click the Run Script action and paste the following code on a new line under the existing code: osascript -e 'tell app "Finder" to empty' Edited April 12, 2013 by Subject22
Ddyracer Posted April 13, 2013 Posted April 13, 2013 No problem :-) You know about Alfred's built in feature for emptying the trash don't you? The keyword emptytrash will do that for you :-) But if you want this workflow to automatically empty the trash after clearing your downloads folder, find it in Alfred, double click the Run Script action and paste the following code on a new line under the existing code: osascript -e 'tell app "Finder" to empty' I added this to your desktop and download workflow, (also added force empty) and now it empties it too! Subject22 1
Subject22 Posted April 13, 2013 Author Posted April 13, 2013 I left automatic trash emptying out of the standard version to avoid accidental deletion, but if you guys understand the risk and are happier this way that's fine by me :-)
gammawert Posted September 1, 2013 Posted September 1, 2013 I added this to your desktop and download workflow, (also added force empty) and now it empties it too! Racer, would you kindly provide your updated workflow with the deleting mechanism? Thank you very much
Ddyracer Posted November 30, 2013 Posted November 30, 2013 (edited) Racer, would you kindly provide your updated workflow with the deleting mechanism? Thank you very much Sure! Sorry for late reply. Here it is Edited November 30, 2013 by Racer
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now