Re: Safari - Clear History Cache
Re: Safari - Clear History Cache
- Subject: Re: Safari - Clear History Cache
- From: Barbara Mueller <email@hidden>
- Date: Wed, 26 Feb 2003 18:55:12 +0100
Is it possible to do the above via an Applescript, if so how? I
can't find any reference to it in the dictionary (no surprise there).
Thanks in advance (though I suspect the answer will be a straight "no").
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.