samknight / slack_applescript

AppleScript bundle for Slack methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can’t get menu item 1 of menu "Workspace"

spazbg opened this issue · comments

After the latest Slack UI updates, the command "focus workspace 'Your Workspace'" returns this error:

error "System Events got an error: Can’t get menu item 1 of menu "Workspace" of menu item "Workspace" of menu "File" of menu bar item "File" of menu bar 1 of process "Slack" whose name starts with "Your Workspace". Invalid index." number -1719

I've not been able to replicate this error - can I confirm that you see the menu bar

File -> Workspace -> [name of workspace]

Yes, my mistake. It seems that the name of the workspace was changed without my knowledge