Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Secure Empty Trash AppleScript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brown Study" data-source="post: 24746" data-attributes="member: 3889"><p>I'm trying to write a secure empty trash script, but the script editor bounces every attempt. It takes only a three-line script to empty the trash without the security overwrite:</p><p></p><p>tell application "finder"</p><p>empty trash</p><p>end tell</p><p></p><p>but telling the finder to "secure empty trash" or using a bunch of variations of that command doesn't work.</p><p></p><p>Does anyone have any ideas?</p></blockquote><p></p>
[QUOTE="Brown Study, post: 24746, member: 3889"] I'm trying to write a secure empty trash script, but the script editor bounces every attempt. It takes only a three-line script to empty the trash without the security overwrite: tell application "finder" empty trash end tell but telling the finder to "secure empty trash" or using a bunch of variations of that command doesn't work. Does anyone have any ideas? [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Secure Empty Trash AppleScript
Top