Re: Script to clear Safari?
Re: Script to clear Safari?
- Subject: Re: Script to clear Safari?
- From: email@hidden
- Date: Wed, 16 Mar 2016 12:04:03 -0700
I write to follow up with an answer to my questions about an AppleScript
to clear Safari's history, cookies, etc.
I've been using the script Koenig suggested (Pasted below and in the
following thread:
http://lists.apple.com/archives/applescript-users/2016/Feb/msg00159.html)
and it has worked perfectly and quickly for several weeks as an
application.
Thank you all for your help.
-DB
---------
on run {input, parameters}
tell application "Safari"
close every window
end tell
set theApp to "Safari"
set mt to 6
set mi to -2
tell application "System Events" to tell process theApp
set frontmost to true
tell menu bar 1 to tell menu bar item mt to ¬
tell menu 1
click menu item mi
end tell
tell window 1
click button 2
end tell
end tell
return input
end run
---------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden