Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Run scripts via the Script Menu via keyboard' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Run scripts via the Script Menu via keyboard
Authored by: mark hunte on Sun, Mar 23 2008 at 4:07AM PDT
And For those of you who do not want to move you Applescript Menu.
You can run this script with one of the Hotkey apps

It will find the menu where ever it is so long as its in the menu bar.

 tell application "System Events"
	set t to value of attribute "AXDescription" of menu bar items of menu bar 1 of application process "SystemUIServer" as list
	set menuExtraName to "AppleScript"
	repeat with i from 1 to count of items in t
		set this_item to item i of t
		if this_item is menuExtraName then
			click menu bar item i of menu bar 1 of application process "SystemUIServer"
			exit repeat
		end if
	end repeat
end tell

---
mh

[ Reply to This | # ]