Monitor Your Mac with Folder Actions
TMO Quick Tip - Monitor Your Mac with Folder Actions
by , 7:30 AM EST, February 20th, 2006
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.
Let's add a folder action to your StartupItems directory, so we'll know if any application installers add anything that will launch automatically when your Mac is turned on.
If Folder Actions hasn't already been enabled, we need to do that first. Here's how:
- Launch Folder Actions Setup. It's in Applications > AppleScript > Folder Actions Setup.
- Click the Enable Folder Actions check box.
- Quit Folder Actions Setup.
Make sure Folder Actions are enabled.
Now let's attach the Folder Action to the StartupItems folder:
- Navigate to your StartupItems folder. It's 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 StartupItem's contextual menu to add a folder Action.
Any time an item is added to your StartupItems folder, you'll 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, that's a good one to attach this Folder Action to. Check the Library folder that's in your Home Directory. If you have an InputManagers folder there, be sure to attach this action to it as well.
- Wed, 3:00 AM
- Things You Should Not Do with Your Apple Watch Ultra - TMO Daily Observations 2022-09-28
- Tue, 4:27 PM
- How to Turn Off Dynamic Island Content for iPhone 14 Pro and Pro Max
- Tue, 3:32 PM
- Apple Watch Ultra Teardown from iFixit Shows Repairs Could be Challenging for Users
- Tue, 3:02 PM
- iPhone Set for Record ASPs and Oprah's Deal is Reportedly Done
- Tue, 2:28 PM
- New 'OG App' Provides Instagram Alternative Without the Meta Clutter
- Tue, 2:06 PM
- Yale Announces Matter-Compatible Smart Locks
- Tue, 12:58 PM
- OmniFocus 4 for Mac Joins Mobile Apps in TestFlight
- Tue, 12:07 PM
- Amazon Offers Up Latest MacBook Air with Up To 10% Savings Off Retail
- Tue, 11:49 AM
- Walmart Enters the Metaverse with Two 'Immersive Experiences', Likely a Move to Advertise to Children
- Tue, 10:52 AM
- Apple Delays Adoption of India's Satellite-Based Geolocation System
- Tue, 10:43 AM
- Security Researchers Find Ten Adware iOS Apps in the App Store Engaging in Ad Fraud
- Tue, 3:00 AM
- iPhone and Prices and India and Oprah - TMO Daily Observations 2022-09-27