Well...
One of my favorites is this:
on opening folder this_folder
tell application "Finder"
close the front window
end tell
end opening folder
Save it as a script.
Then right click a folder, select "Enable Folder Action" from the menu.
Right click the Folder again, select "Attach a Folder action
".
Navigate to where you saved the script and choose the one you just made.
Now whenever you open that folder it will immediately close.
Not useful for
your computer....
But if you put this on other people computers.....
Especially the hard drive.
Heh-heh. Good wholesome fun that is.
You can of course remove this by right clicking on the infected folder, move your cursor over the "Remove a Folder Action" submenu and select the script.
Enjoy!