-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
System will emit a NSBeep sound when getSelectedText()
report error.
#1497
Comments
Is this fixed? |
Hi @mathieudutour 👋 |
we do want to fix it, we didn't get to it yet. I'll reopen it |
To add, this problem is related to the current application, for example, when the current application is Finder, Calendar, Stickies, etc., the NsBeep sound will appear, and when the current application is Slack, DeepL, Arc, VSCode, Obsidian, Warp, Fork, etc., the NSBeep sound will not appear. |
When the extension calls Raycast's
getSelectedText()
Api and usestry-catch
to catch the error, the system will emit a NSBeep sound if it cannot get the selected text from the foremost appRaycast version: 1.33.2
Description
Steps To Reproduce
That is, when
getSelectedText()
reports an error, it makes a sound. The following errors were caught:Error: Cannot copy selected text from frontmost application.
Another very similar api,
getSelectedItem
, does not make a sound when an error is reportedThe current behavior
System will emit a NSBeep sound when
getSelectedText()
report error.The expected behavior
System will not emit a NSBeep sound when
getSelectedText()
report error.The text was updated successfully, but these errors were encountered: