Warning: Script Editor File Destruction
Warning: Script Editor File Destruction
- Subject: Warning: Script Editor File Destruction
- From: daniel <email@hidden>
- Date: Sun, 10 Oct 2004 16:01:38 -0700
So, maybe this makes me a candidate for the digital darwin award, but I managed to use Script Editor to destroy most of my ~/Library folder.
The dangerous command is the "save in" script command. I was trying to be clever and get Script Editor to display the "save" dialog with the location on disk preset. Instead, Script Editor tried to (I assume) replace the directory with the script.
The results are that the directory I pointed it at (~/Library) is almost entirely destroyed.
Dont' do this:
tell application "Script Editor"
set theDoc to make new document at end of documents
save theDoc in choose folder
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden