Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A better way to activate menu items from AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A better way to activate menu items from AppleScript
Authored by: dcottle on Nov 30, '10 12:17:20PM
Answer my other question--how to get the "Apple" menu--(and figured out how to display code):

tell application "Finder" to activate
tell application "System Events"
	click menu item 
		"Sleep" in menu "Apple" of menu bar item 
		"Apple" in menu bar 1 of process "Finder"
end tell

[ Reply to This | # ]