(For example, my Time Machine drive occasionally decides to stop working I’ve long had a Hazel rule that keeps an eye on the drive and, if it hasn’t changed in the past 24 hours, gives me a Growl alert. For example, the app should now behave better when it’s dealing with external drives: If a rule fails because the destination drive is unavailable, Hazel won’t keep retrying over and over it will instead wait until the drive comes online, then run the action. Hazel 3 also includes a miscellany of fixes. When you preview a folder, to see which files and folders in it are covered by Hazel rules, this popover shows you which file attributes match your filters. That said, there are still some minor interface bugs here and there, such as buttons that disappear when windows expand. If you hover the cursor over a given file or folder in that preview window, a popover appears showing you which of that file’s or folder’s attributes match your rules. (Execution order is often really important.) You can still preview folders, to see which files and folders within them will be acted on by which rules, but now that preview tool gets its own button, making it much easier to access. You can now reorder conditions and actions up and down in the list by dragging them. Noodlesoft has made some nice tweaks to the program’s interface in version 3. If this list of file attributes isn’t enough, you can select Other and choose from almost any attribute that OS X tracks. (For example, Name contains “Hazel” or “review,” added to the folder today or last week but not last Friday or Tuesday, and item’s contents contain the word “incredible.”) You can also specify custom conditions via AppleScript or shell scripts-the script just has to return the value True-which enables you to test against even more file and folder attributes and apply even fancier conditional logic. If you’ve created a smart folder in the Finder or a smart playlist in iTunes lately, you know how handy nested conditions can be-by combining multiple, hierarchical And, Or, and Not statements, you can make Hazel match files with incredible precision and flexibility. One of the most-welcome improvements is the capability to nest conditions. Hazel 3 doesn’t really change any of these basics, but it does tweak them and make them more powerful. And not only can you use Hazel to keep an eye on folders you already use, you can also use it to create special folders that do useful things when you drag files into them. Actions can vary from the basic ( Move, Rename, Set Color Label) to the not-so-basic ( Run AppleScript, Run Automator Workflow, Run Shell Script). Once you’ve defined your conditions, you specify the actions Hazel will perform when those conditions are met. Finally you have a test field, where you define the value(s) for matching the attribute and operator ( Date Added is Today, for example). Next to that is a pop-up list of operators ( is, contains, is less than, and the like) the list changes depending on the attribute. If you select Other from that menu, you can choose from almost any file- or folder-attribute that OS X tracks. For conditions, you choose from a pop-up list of attributes: Name, Kind, Date Added, and many more. Each rule has two components, conditions and actions. Creating rules is similarly straightforward, and if you’ve ever created a rule in Mail, the process will feel familiar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |