-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Description
Summary of the new feature/enhancement
I believe PowerToys Run would be a lot more powerful if we could have not only ">" but several others characters that change it's behavior. Maybe even alias-ing some frequently used commands.
Proposed technical implementation details (optional)
I have seen some issues requesting for some features and I believe that this would be a nice add overall.
Right now, adding ">" at the start will invoke the shell and run what you write after.
In issue #3245, it's requested to be able to do a web search. Having "?" at the start could tell PowerToys Run that we are definitely wanting to do a web search.
In issue #3233, it's desired to have PowerToys Run to behave exclusively like Window Walker. Instead of limiting and having a toggle for that, we could have ":" to make PowerToys Run show only running apps.
In issue #3179, it's suggested to be able to keep the shell open after executing a command. Having ">>" cause that behavior is interesting.
These suggestions were made in the issues themselves, but I believe that is interesting to put them together in a new issue because it can become even more powerful with other characters.
Maybe we could even have a section on the PowerToys Run settings to allow users to add their own? Or also add some alias? For example, if I often go between three running programs, let's say chrome, word and spotify, I could press Alt+Space and write ":c", ":w" or ":s" to go to the specific program because on the PowerToys Run settings I created the alias for ":Spotify" as ":s" and so on.
This could be used for opening specific folders, running specific scripts with specific arguments*, and so on, as created by the user.
Having the initial characters being the same between the alias and the command should be enforced or else confusion will ensue π
*like ">ipr6" be translated to ">ipconfig /renew6" or ">>ipa" be translated to ">>ipconfig /all"