Create Smart Folders in Dock Stacks with Hazel

Sep 04, '09 07:30:00AM

Contributed by: prokey

Here's a workaround to making a Smart Folder stack. You can probably use Folder Actions to accomplish this in Snow Leopard, since Apple added the Date Created option to Spotlight search. I prefer to use Noodlesoft's Hazel, however.

  1. Create a new directory and subdirectory for handling your Hazel-driven dock stacks. (~/SmarterFolders/New Applications). I made SmarterFolders to contain New Applications, the folder which will later be a stack of its own.
  2. Create the first Hazel rule for the /Applications directory, and make it look like this. The Growl notification reads: File is new. An alias has been created in New Applications.

    All Conditions met: Do the following:
  3. Create the second Hazel rule for the ~/SmarterFolders/New Applications directory, and make it look like this. The Growl notification reads: file is 2 weeks old. Alias has been moved to Trash.

    All Conditions: Do the Following:
  4. Make sure you check Delete duplicates in the Hazel menu screen for the New Applications folder.
  5. Drag New Applications to the Stacks area of the Dock. Change your settings as desired.
[robg adds: I haven't tested this one.]

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20090829105236294