The Mac Observer

Monitor Your Mac with Folder Actions

February 19th, 2006 at 2:00 PM - Tips by Jeff Gamet

Some application installers add items to your Library folder that you may not want to have, and there is the possibility that someone could try to trick you into installing something you would rather not have on your computer. With a little help from Mac OS X Folder Actions, you can take a proactive approach to defending your system and files.

Letis add a folder action to your StartupItems directory, so weill know if any application installers add anything that will launch automatically when your Mac is turned on.

If Folder Actions hasnit already been enabled, we need to do that first. Hereis how:

    - Launch Folder Actions Setup. Itis in Applications > AppleScript > Folder Actions Setup.
    - Click the Enable Folder Actions check box.
    - Quit Folder Actions Setup.


Make sure Folder Actions are enabled.

Now letis attach the Folder Action to the StartupItems folder:

    - Navigate to your StartupItems folder. Itis in the Library folder on your hard drive.
    - Control-Click (Right-Click on a two button mouse) the StartupItems folder and select Attach a Folder Action.
    - Select add - new item alert.scpt (The script should be at the top of the list.), and click the Choose button.


Use the StartupItemis contextual menu to add a folder Action.

Any time an item is added to your StartupItems folder, youill see an alert dialog that can open the folder and highlight any new items.


The Folder Action Alert dialog.

Feel free to monitor other folders, too. If your Library folder has an InputManagers folder, thatis a good one to attach this Folder Action to. Check the Library folder thatis in your Home Directory. If you have an InputManagers folder there, be sure to attach this action to it as well.

  • Related Entries
  • Email This
  • Tweet This
  • Jeff Gamet on Twitter
Login. Need an account? Register here.



Auto-login on future visits

Show my name in the online users list

Forgot your password?


Commenting is not available in this section entry.
 

Recent Headlines - Updated November 21st

Fri, 7:07 PM
Games - Soccer Sim Championship Manager 2010 Released for Mac
6:47 PM
Games - EA Publishes Original Monopoly for iPhone
6:15 PM
News - Original Apple I on Ebay for $50K, w/Letter from Steve Jobs
6:11 PM
Games - New iPhone Games: Secret of the Lost Cavern Ep 1, New DJ Nights, More
5:47 PM
Games - Star Trek D-A-C Game Headed to the Mac Next Month
4:57 PM
Product News - TidBITS Releases “Take Control of Syncing Data in Snow Leopard”
4:26 PM
John Martellaro's Blog - Particle Debris (week ending 11/20) Stationery Pads Go Poof
2:59 PM
Free on iTunes - Musée du Louvre, Art Lite, SketchBook Mobile X and More.
1:50 PM
Deal Brothers - Acer P215H bmid 21.5” Widescreen LCD Monitor:  $139.99
11:24 AM
TMO Appearances - Jeff Gamet Shares More Holiday Gift Ideas on MacJury
10:43 AM
Product News - Cocktail 4.5 for Leopard Adds QuickLook Cache Clearing
10:06 AM
News - Hack Enables Mac OS X 10.6.2 on Netbooks
 

The Mac Observer Reader Specials

  • Buy Stuff, Support TMO!
  • __________
  • Macworld Expo 2010 Hotel Deal
  • TMO on Twitter!

Apple Stock Quote

  • AAPL: $199.92. Change: -0.59.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features