Change Stream Deck Profile From Macro

That "1" in menu bar item "1" shouldn't be quoted -- that's what's throwing this error. The quotes effectively mean "the menu bar item with this name" but there is no menu bar item named "1".

You should be able to do:

activate application "Elgato Stream Deck"
tell application "System Events"
	tell process "Stream Deck"
		click menu item "Resolve Edit" of menu 1 of menu bar item 1 of menu bar 2
	end tell
end tell

...to target the "Resolve Edit" profile, changing the text to match the name for your other profiles. That will make your script more robust, since you aren't relying on the item's position in the menu.

1 Like