(no subject)
(no subject)
- Subject: (no subject)
- From: David Marshall <email@hidden>
- Date: Sat, 15 Jul 2006 07:59:13 -0400
On Thu, 13 Jul 2006, kai wrote:
tell application "System Events" to tell application process "Finder"
set frontmost to true
click menu item "Secure Empty Trash" of menu "Finder" of menu bar
item "Finder" of menu bar 1
end tell
Just a note: if the user has "Show warning before emptying the Trash"
checked in Finder's "Advanced" prefs, they'll need to add a
"keystroke return" to the script.
- - - - -
tell application "Finder" to activate
tell application "System Events"
tell process "Finder"
click menu item 7 of menu "Finder" of ¬
menu bar item "Finder" of menu bar 1
keystroke return
end tell
end tell
- - - - -
Dave _______________________________________________
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