extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Bartender]...

Open jasonshanks opened this issue 1 year ago • 6 comments

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

  1. Install and run: 'Search Menu Bar Apps'
  2. 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

jasonshanks avatar Mar 25 '25 10:03 jasonshanks

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 issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Mar 25 '25 10:03 raycastbot

@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 avatar Mar 25 '25 18:03 kmusick

@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 avatar Mar 26 '25 15:03 itsfatal

@itsfatal fantastic, thanks! Guessing that the Setapp version of Bartender I am running has a different name than standalone? I will get this handled

kmusick avatar Mar 26 '25 18:03 kmusick

That must be it, I'm just on the standalone myself!

itsfatal avatar Mar 26 '25 19:03 itsfatal

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.

kmusick avatar Mar 26 '25 20:03 kmusick