Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Comment from my email...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Comment from my email...
Authored by: GaelicWizard on May 12, '04 04:30:30PM
2. Provide for the user, a switch in the preferences, defaulted to on, which disables (or prompts for confirmation) any call to 'do shell script', along with the code. Since the number of commands in Unix is finite, an enhancement would be to translate shell scripts to english to help people understand what's going on. (ie: 'rm' gets translated to 'delete', -r translates to 'recursively', -f translates to 'without prompting for confirmation', and ~ translates to 'your home directory'.)
I disagree. This is in the same spirit as disableing "do shell script" altogether, and doesn't help. AppleScript can just as easily tell the Finder to move "~" to the trash, then tell Finder to empty the trash. It will work. No comfirmation either.

I would support, however, an option to default to "open for editing" for ALL AppleScripts (and make them all editable).

---
Pell

[ Reply to This | # ]