• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Safari - Clear History Cache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Safari - Clear History Cache
      • From: Mark Butcher <email@hidden>
References: 
 >Re: Safari - Clear History Cache (From: Barbara Mueller <email@hidden>)

  • Prev by Date: Re: Removing leading and railing blanks
  • Next by Date: Re: open Applications' Dictionaries
  • Previous by thread: Re: Safari - Clear History Cache
  • Next by thread: Re: Safari - Clear History Cache
  • Index(es):
    • Date
    • Thread