TUAW Tip: Take control of your sidebar
Today's tip is all
about your Finder sidebar. I've altered mine a bit from the default setup to better accommodate the way I work. The
first thing I do is to remove the Movies, Music and Pictures folders. They're really only a single click away from my
home folder, plus I use iTunes to manage my music and videos, and iPhoto handles my photos. So I rarely need to go
poking around those folders manually. To remove a folder or other item from your sidebar, simply click and drag it out
of the list, then let go and it's gone.Next, I've brought in my current projects. To add an item to the sidebar, simply click and drag it into place. A thin, blue line appears between existing items. Drop it in and you're all set.The four folders you see below my "Documents" folder contain the files that are currently receiving all of my attention. Now they're only a click away, no matter where I've navigated to in the Finder.
The "Trash" is actually a super simple Apple Script that reads:
on open
tell the application "Finder"
move the selection to the trash
end tell
end open
I saved my script as an application, moved it to my "Documents" folder, gave it a sweet icon from The Iconfactory and dragged it into my sidebar. Anything dropped onto it will be moved to the trash. Finally, my Quickdrop folder is where I store all the junk that I accumulate during the day (I like a clean desktop). At the end of the day, I decide what I want to keep from in there, move those items to their proper locations and send the rest to the trash.
Share
Today's tip is all about your Finder sidebar. I've altered mine a bit from the default setup to better accommodate the way I work....
Add a Comment
Andy: icon and font size in the Sidebar reduces itself proportional to the number of items in it.
February 05 2006 at 1:32 PM Report abuse Permalink rate up rate down ReplyThere's also SideTrash.
February 05 2006 at 1:20 PM Report abuse Permalink rate up rate down Reply21 - Thanks, I was being thick then lol
February 04 2006 at 7:59 AM Report abuse Permalink rate up rate down ReplyHere's what I wanna know about the Sidebar:
Is there any way to give it the keyboard focus so I can use the up/down arrows and return key to select an item?
Anyone know?
"I may be a bit thick here but how do you get your icons that small in the sidebar?"
Andy, the Finder automatically resizes sidebar icons -- within certain limits -- to fit in the current window size. So at a given window size, the more items you have in your sidebar, the smaller their icons will be. (Or, conversely, by reducing the size of a Finder window, you also reduce the size of sidebar icons.) However, there is a minimum size; once the window gets too small, the sidebar will become a scrolling list.
Fixed my script to work around predictable but wrong column view behavior.
---
on open these_items
tell application "Finder" to delete every item of these_items
end open
on run
set TrashPath to path to trash from user domain
tell application "Finder"
set FileSelection to selection
set CurrentTarget to target of window 1
set SelectionCount to count of FileSelection
if SelectionCount = 0 then
open TrashPath
else if (item 1 of FileSelection) ≠ CurrentTarget then
delete every item of FileSelection
else if (item 1 of FileSelection) = CurrentTarget and current view of window 1 = column view then
set FolderName to name of item 1 of FileSelection
display alert "Delete "" & FolderName & ""?" message "Due to a column view limitation would you like to delete "" & FolderName & "" or do nothing?" as warning buttons {"Cancel", "Delete"} default button "Delete" cancel button "Cancel"
if button returned of the result is "Delete" then
delete every item of FileSelection
end if
end if
end tell
end run
---
I spotlighted ".trash" and dragged the result into the sidebar. I hit "apple + i" to get info. Then, I renamed the item from ".trash" to "trash". Also, I changed the image from the bland photo to a .jpeg of a wire waste basket. It appeared to work- I could drag items into the trash from the finder. However, I cannot empty trash anymore. I have tried emptying the trash from the dock icon, in the finder, and from finder dropdown window. I am rather anxious that I inadvertantly harmed my computer, for the inability to empty trash is rather bothersome, and perhaps it has as yet unknown implications. Please, can someone help me? (P.S. I tried renaming it ".trash" but that is restricted, as ".trash" is reserved by the system. Please, please, please help me. Thank you in advance.
February 03 2006 at 6:25 PM Report abuse Permalink rate up rate down ReplyThis can be done easier: just creat a symbolic link with
ln -s ~/.Trash Trashbin
or something like that and drag it to the side.
this applescript actually proved to be harmful to me: i was deleting objects in my 'downloads' folder, when i got a message that some objects couldn't be deleted because they were already in trash. i didn't believe it, opened the trash folder (from the dock), and indeed, the files didn't show in the list. i couldn't move the files into the trash manually either, so i decided to empty the trash. just to see that my whole downloads folder was gone. it wasn't shown in the trash folder either. couldn't recover the files, had a backup from a couple of weeks ago, though. :(
February 03 2006 at 5:28 PM Report abuse Permalink rate up rate down ReplyJames: Very cool! Thanks for posting it.
February 03 2006 at 3:21 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



25 Comments