-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add universal-commands extension #13129
base: main
Are you sure you want to change the base?
Conversation
- add screenshots of extension, improve language of forms - Merge pull request raycast#2 from cyxn/NEW-FUNCTIONALITY - fix typing and prettify code - Only one key could be passed in shortcut - add run command - Fix comments - Add create, edit and delete command functionality - add extension icon - ensure hotkeys work without modifier - fix build - improve readme, add manage custom commands - initial draft version
Congratulations on your new Raycast extension! 🚀 We're currently experiencing high demand and limited capacity. As a result, extension reviews might take longer than usual to get the initial review. Please expect an initial review within 5-10 business days. Once the PR is approved and merged, the extension will be available on our Store. Sorry for the inconvenience |
Hi! Is your extension designed for working on web apps only? Also, how come it would be different in functionality than adding the option to be app/website specific to this extension? https://www.raycast.com/HelloImSteven/keyboard-shortcut-sequences |
Hi Milena!
My extension is different from the one mentioned above and aims for a different use case. The extension above can't solve my use-case. Good example of usage of my extension is toggle mute/unmute for different call apps (zoom, google meet, teams, slack etc). In different apps, it is a different shortcut. You can't remap the shortcut in Slack and Google Meet, and both are different. With my extension, you can use the same Raycast command for all your apps to toggle mute/unmute. Extension will execute the correct shortcut under the hood depending on what app is opened right now. Mute/unmute is just an example. You can build your own universal commands. |
Hey! I think you didn't answered my question. I saw you example, but my question is: the only difference I see from your extension and the one I pointed out was the app awareness, which I believe can be added to the other extension. Are there any other differences I am missing? |
It is an entirely different perspective. My extension is more like if/else, depending on what app is running. I think the main point from me is — it is not only about the number of differences but more about how huge that single difference is. If you still believe those two extensions should be together, I can foresee that it will be quite challenging:
But before diving into that, I want to hear your thoughts. |
I will do some thinking and will get back to this review tomorrow! |
I guess I understand the use case of this. However I have a few comments:
Please, take a look at my comments and tell me what you think :) |
The command is meant to be called by a Raycast QuickLink rather than by the user directly. When you view list of commands, you can create it as quicklink. This is the way I call my commands.
The way it works right now is that the list is auto-sorted by the frontmost application. Pinning may be additional nice thing but in my eyes "List Custom Commands" is mostly for managing the commands rather than running them. QuickLink, I believe, is the right way to call your shortcuts. But who knows, maybe it's only me who thinks QuickLinks is the best way to call commands. This is why the primary action is to run the command and not save it as quick link — I want users to use the extension the way it works best for them. |
yes, it is cmd + N in "List Custom Commands". Should I create new command just for create flow? |
Yes!
I believe so. It would make the process easier.
It's up to you. I'd recommend to implement this now, but you can wait for user feedback as well. Anyway, I would explain your vision on the README file anyway, to avoid confusion. |
I have updated my extension, @mil3na please look |
Hi! |
as I said, the command is not supposed to be used by the user directly. You can create a Quicklink to the command (for example mute/unmute) from "List Custom Commands" command. This Quickling will use |
- Merge branch \'contributions/merge-1721150201782028000\' - Pull contributions - cleanup mock.ts file
Description
Sometimes, I encounter difficulties in finding the right shortcut for the same action across different applications.
For instance, in various meeting platforms like Google Meet, Slack Huddle, and Zoom, each has a different shortcut for
muting the microphone.
Furthermore, in Slack, the ability to rebind shortcuts is limited.
To address this issue, the solution is the Universal
Commands extension for Raycast. This extension provides users with the ability to
configure commands to execute specific shortcuts based on the application in use. As the result, users can use a single
command to toggle between mute and unmute, and this action will be tailored to the current application and it will
execute corresponding shortcut.
Screencast
CleanShot.2024-06-23.at.13.54.49-converted.mp4
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are placed outside of themetadata
folder