10.6: Use a Service to toggle trash can off and on

February 9th, 2010 admin

This hint enables you to turn off (and back on) moving files to Trash when deleting files, thus deleting them immediately when the trash is off. This hint takes advantage of the fact that if the .Trashes folder in a user’s home folder is not accessible, Mac OS X ignores it and displays an immediate file deletion warning like the one seen at right. Create a service in Automator that (via the top two drop-down menus) takes no input and is available in any application. Add a single Run AppleScript


Originally posted on Mac OS X Hints

 
  Related Posts
10.6: Create a new file anywhere via an Automator Service
10.6: Create a new file anywhere via an Automator Service
This a simple Service for creating new files the currently-open folder in Finder, using AppleScript and Automator. Start by launching Automator, and in the chooser that appears, select Service. This will open a new Automator window, set up to create a Service. In that window, do the following: Set the Service to receive selected folders in Finder... 
A Service to hide/show the Desktop
A Service to hide/show the Desktop
Sometimes you have a really cluttered desktop, and you want to clean it off, but you don’t have time (or you’re just plain lazy). That’s where this hint about hiding/showing your desktop via a service comes in. First of all, open Automator. When you’re presented with the options sheet, choose Service. After, in the banner... 
10.6: Set time of deletion for files placed in the Trash
10.6: Set time of deletion for files placed in the Trash
To make it easier to retrieve accidentally-deleted items from the trash, you can use an Automator workflow and the third-party Automator action Touch Files to create a “date deleted” time stamp on files placed in the trash. Here’s how: Download the Automator action and unzip it. Open Automator and import this action (File  Read More →
10.6: Dial numbers in Google Voice using a Service
10.6: Dial numbers in Google Voice using a Service
I created a Service to send a selected phone number to Google Voice to be dialed. To do this, I actually use two files: The service, which should be installed in your user’s Library/Services folder, and the google-voice-dialer php script , which does most of the heavy lifting; install that wherever. Download the zip file (78KB) , expand it... 
10.6: Create iCal event from dates in Safari
10.6: Create iCal event from dates in Safari
I sometimes want to create an event in iCal from a date that appears on a web page I’m viewing in Safari. Using Automator, I created a Service to do just that. Here’s how: Launch Automator Select Service from the Choose a Template for your Workflow sheet. Set the drop-downs at the top of the Untitled service to ‘Service receives... 
10.6: A Service to show/hide hidden files
10.6: A Service to show/hide hidden files
There are many ways to show and hide the various hidden files and folders in Mac OS X. This one is an update to an older Automator workflow method. The previous method was to create a plug-in in Automator; now a pair of Services are used, so this hint only applies to Snow Leopard. Refer to the previous hint for usage in either Leopard or Tiger.... 
10.6: Jump to path via global Service
10.6: Jump to path via global Service
When I’m working anywhere in 10.6 other than in the Finder, I might suddenly need to go to some path. It kind of bothers me that I have to Command-Tab to the Finder, and then do the Shift-Command-G keystroke. Also, I might want to open some Macintosh-style path (:) instead of POSIX-style (/) path. Now, in 10.6, I can jump to a path using a... 
Empty the trash from any application via AppleScript
Empty the trash from any application via AppleScript
One thing that has always annoyed me in OS X is that the Empty Trash shortcut only works in Finder, so I wrote an AppleScript that lets you empty the trash from any application. First you’ll need to download Spark . Make sure the Spark daemon is running and that ‘Start Spark Daemon at Login’ is checked in the General tab of the... 
Use OS X’s trash in a Finder-like way from Terminal
Use OS X’s trash in a Finder-like way from Terminal
I’ve written a few bash functions to interact with the normal Mac OS X trash can. This is actually slightly more complicated that it sounds at first, since the trash can is not just a folder somewhere. Each volume has its own trash, and your home folder has a trash can. Finder uses your home trash for any files on the boot volume, unless you... 
Revised script to toggle Safari cookies
Revised script to toggle Safari cookies
I modified a script from this hint of phow4rd to toggle Safari’s Accept Cookies setting from ‘Never’ to ‘Only from sites I visit.’ Here is the modified script. You can save it to ~/Library/Scripts/Applications/Safari to make it available from the AppleScript menu. You may need to create the Safari folder. tell application... 
  Related Tweets from Twitter
MarcLobb (Marcus Lobb)  : Mac computer system Snow Leopard and new Flash download - SMART ...: Mac snow leopard 10.6.4 users beware!!! Don't... http://bit.ly/ce3bvX..
Updated : 2010-09-02T15:15:54Z   |  Reply  |  View Tweet
steve_m (St. M.)  : Nach gut 1 Jahr 10.6 wurde immerhin schon mal das Sync-System von iTunes sowie Bonjour auf 64Bit umgestellt. Fehlt nur noch iTunes an sich...
Updated : 2010-09-02T10:01:55Z   |  Reply  |  View Tweet
qwade (Q Wade Billings)  : @mclaughj are you running 10.6? If so, go to system profiler and look at power. It has a battery health indicator. See what it says..
Updated : 2010-09-02T03:24:23Z   |  Reply  |  View Tweet
cberkeley (Carl Berkeley)  : @aasiferdous from what I have done just installing Mac OS X 10.6 and upgrading the system. hope that helps...
Updated : 2010-09-01T23:30:18Z   |  Reply  |  View Tweet
studuncan (Stu Duncan)  : @bradproctor Sucks on the system requirements - 10.6 or higher. Maybe I'll try a nightly Webkit build...
Updated : 2010-09-01T15:26:34Z   |  Reply  |  View Tweet
  Related News from Digg
No comments yet.

Spam Protection by WP-SpamFree

TOP