[Bartender]...
Extension
https://raycast.com/kmusick/bartender
Raycast Version
1.94.0
macOS Version
15.4 (24E246)
Description
Error:
Command failed with exit code 1: osascript
42:51: syntax error: A plural class name can’t go after this identifier. (-2740)
Bartender v5.2.7
Steps To Reproduce
- Install and run: 'Search Menu Bar Apps'
- Also fails to open 'Open Search Overlay'
Current Behaviour
Happened both on first launch and after restarting Bartender. I realise I am running Release Candidate of 15.4 if that has anything to do with it.
Expected Behaviour
No response
Thank you for opening this issue!
🔔 @kmusick you might want to have a look.
💡 Author and Contributors commands
The author and contributors of kmusick/bartender can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
@jasonshanks I am not on the release candidate, but do have the same Bartender version as you. Are you comfortable running AppleScript in the script editor? If so, can you try to run:
tell application "Bartender" to quick search
Hoping this will help figure out the issue as that is the entire code running for Open Search Overlay
const script = `tell application "Bartender" to quick search`;
await runAppleScript(script);
@kmusick I just reported the same issue, when running that script it asks me to choose the application in a pop up window. But I think it's because the script is missing the "5" from it, as this resolves the issue for me.
tell application "Bartender 5" to quick search
@itsfatal fantastic, thanks! Guessing that the Setapp version of Bartender I am running has a different name than standalone? I will get this handled
That must be it, I'm just on the standalone myself!
I believe PR #18168 will fix this. If either of you want to test and confirm, here are instructions on how to do that. Updated code checks the two Setapp directories for Bartender, and defaults to using "Bartender 5" if not found.