• 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
Clearing history for different applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clearing history for different applications


  • Subject: Clearing history for different applications
  • From: "Sutapalli Satyanarayana" <email@hidden>
  • Date: Fri, 24 Apr 2009 00:38:56 -0600

I am using the following script to clear finder "history"

tell application "Finder" to quit

do shell script "defaults write com.apple.finder recent-folders {}"

delay 2

tell application "Finder" to activate


Similarly I am using the following list to clear Quick Time player history

tell application "QuickTime Player" to quit

do shell script "defaults write com.apple.quicktimeplayer recent-folders {}"

delay 2

tell application "QuickTime Player" to activate


After running QuickTime Player script, I opened the plist file "com.apple.com.quicktimeplayer.plist" and observed the dictionary item "recent-folders" has 0 entries, that means, the list is cleared. But when I open QuickTime player, it still shows the recent files list. Why?


Similarly how can I clear Safari "history" list using apple script?


Thanks & Regards,

Satyam.

 _______________________________________________
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

References: 
 >Confounded by Folder Action Script (10.5.6) (From: David Glass <email@hidden>)
 >Re: Confounded by Folder Action Script (10.5.6) (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Confounded by Folder Action Script (10.5.6)
  • Next by Date: Why do I get different results for this?
  • Previous by thread: Re: Confounded by Folder Action Script (10.5.6)
  • Next by thread: Re: Confounded by Folder Action Script (10.5.6) - SOLVED
  • Index(es):
    • Date
    • Thread