Re: Safari - Clear History Cache
Re: Safari - Clear History Cache
- Subject: Re: Safari - Clear History Cache
- From: Steve Savery <email@hidden>
- Date: Wed, 26 Feb 2003 18:09:20 +0000
Thanks Barbara. I had hoped to not involve System Events, but may have
to after all.
Steve
On Wednesday, February 26, 2003, at 05:55 pm, Barbara Mueller wrote:
This is possible!
At least on my Mac (OSX) this script works:
tell application "Safari"
activate
tell application "System Events"
tell process "Safari"
click menu item "Empty Cache..." of menu "Safari" of menu bar 1
end tell
end tell
end tell
-- Empty Cache dot dot dot!
or
click menu item "Clear History" of menu "History" of menu bar 1
This script requires OSX, System Events 1.2 and "Enable acces for
assistive devices" in the PrefPane "Universal Access" enabled.
Barbara
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.