Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MagicTramp

macrumors newbie
Original poster
I have a folder i have constantly, by accident, deleted for months.
I want to attach a folder action to it, so that when it is moved to the trash a dialog box shows up asking whether i actually want to bin it. Or, even better, a script that will stop me moving it/binning it altogether.

That way, if i pick it up and drag it there by accident it will stop me binning the important folder.

What would the script look like for this? I take it i will be implementing the "if" command.... but what? "if the_folder is moved"?

I can't figure it out.

Thanks.
- Matthew
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.