Instructional Video!
Snoops, 'Comedic' Friends, and April Fool Jokers have always been a bit of a problem. To day I will answer the question 'Is there any way to protect my files?' and that answer is yes.
1. Attach a folder action
One way to protect your files is to attach folder actions to them. I have written quite a few scripts that you can use to ward off intruders. But before using them you have to know what to do with them. To make a folder action you have to copy your selected script from below, open 'Applescript Editor' or 'Script Editor' and then paste it. Then save it under Library/Scripts/Folder Action Scripts as what ever you like. Then right (ctr) click the selected folder and click 'Attach a Folder action'. When the display comes up click the one that you just saved and viola. When you try to open your folder the script will run. To open the folder yourself just right click it and select 'Disable Folder Actions' before opening. Remeber to enable them again when you have finished! So now for the scripts:
1a. Intruder Alert - five second countdown before folder closes
on opening folder this_folder
>(say "Intruder Alert, auto close in 5")
>delay 0.5
>(say "4")
>delay 0.5
>(say "3")
>delay 0.5
>(say "2")
>delay 0.5
>(say "1")
>delay 0.5
>(say "0")
>tell application "Finder" to close every window
end opening folder
1b. Auto Close Immediately
on opening folder this_folder
>tell application "Finder" to close every window
end opening folder
N.B. were > is written replace with tab
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Comments, Questions and Other Inquires can be made in the box below...