Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script error when Slack set to French #19

Open
Marcuse7 opened this issue Jun 1, 2021 · 2 comments
Open

Script error when Slack set to French #19

Marcuse7 opened this issue Jun 1, 2021 · 2 comments

Comments

@Marcuse7
Copy link

Marcuse7 commented Jun 1, 2021

When I set Slack to French or German and execute

tell application "Slack"
	focus workspace "One Conversation"
end tell

I receive the error

System Events got an error: Can’t get menu bar item "File" of menu bar 1 of process "Slack".

@samknight
Copy link
Owner

Hi Marcuse7, thanks for raising this issue. I'm afraid I've not been able to think of a way around this. Are you aware of how other people solve this issue with AppleScript?

@Marcuse7
Copy link
Author

Marcuse7 commented Sep 8, 2021

Sorry I missed this. There could be a workaround using displayed name, as described here: https://snippets.aktagon.com/snippets/368-how-to-get-the-localized-name-of-a-folder-also-called-displayed-name-with-applescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants