Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever posted them. This site is not responsible for what they say.
Run scripts via the Script Menu via keyboard
Authored by: mark hunte on Mar 23, '08 04:07:04AM
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 | # ]