Re: clear apple menu's recent items script
Re: clear apple menu's recent items script
- Subject: Re: clear apple menu's recent items script
- From: "Adam Bell" <email@hidden>
- Date: Thu, 13 Apr 2006 14:57:10 -0300
They're stored in ~/Library/Preferences/com.apple.recentitems.pref
Adam Bell
On 4/13/06, Jeff Hobbs <email@hidden
> wrote:
Hello,
Does anyone have any idea why this wouldn't work? I'm guessing it's
because the Apple Menu is kind of an odd menu, programatically, but
maybe my syntax is off? Or is there a better way to do this?
try
tell application "System Events"
tell process "Finder"
tell menu bar 1
tell menu bar item "Apple"
tell menu "Apple"
tell menu bar item "Recent Items"
tell menu "Recent Items"
click menu item "Clear Menu"
end tell
end tell
end tell
end tell
end tell
end tell
end tell
end try
~jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (
This email sent to email@hidden
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden