Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

satyam90

macrumors regular
Original poster
Jul 30, 2007
242
0
Bangalore, India
Hi, I am using Mac Leapord laptop. I want to write an apple script that will clear the history of "Finder" and "Quicktime".
If I know what are the files associated with history from terminal, I can just delete those files using apple script to clear them.
Where can I find history related to finder and quicktime in file system of Mac?
 
The following script is not clearing the recent files list from quicktime player
Code:
tell application "QuickTime Player" to quit
do shell script "defaults write com.apple.quicktimeplayer recent-folders {}"
delay 2
tell application "QuickTime Player" to activate
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.