You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom commands are tiny bits of code that perform a predefined function. They can be as short as a single character or as long as Odyssey by Homer (or longer). Though, why would you make it that long? Doesn't matter. Only matter's that you could.
Why is it beneficial?
They will let you quickly perform a task that would have otherwise taken many steps to reproduce. It can be use to directly open a Wikipedia page about hammers for example. It can launch a dictionary program opened to a specified word. It could be used to run a specific command in an elevated (administrator's privilege) command prompt. The possibilities are practically limitless.
How does it work?
The search bar would have defined listener cues followed by necessary argument parameters. Certain cues, for example, could be !w for launching a Wikipedia entry for whatever comes after !w. A full example could be: !w "Elvis Presley" would open the Wikipedia page for the king of R&R using the default web browser. Another example is ^ Explorer.exe "C:\Windows\System32" would launch the windows directory explorer running as administrator opened to the system32 folder. You can define your own custom actions in the Open-Shell options menu.
Others have done it before.
Popular search engine DuckDuckGo calls them Bangs. Although, their Bangs is limited to just searching on different services; It doesn't let you run code or open programs on your computer. WhiskerMenu on Linux does exactly what I'm discussing. It's actually where I got the idea. WhiskerMenu calls them "Search Actions." That's All I know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is it?
Custom commands are tiny bits of code that perform a predefined function. They can be as short as a single character or as long as Odyssey by Homer (or longer). Though, why would you make it that long? Doesn't matter. Only matter's that you could.
Why is it beneficial?
They will let you quickly perform a task that would have otherwise taken many steps to reproduce. It can be use to directly open a Wikipedia page about hammers for example. It can launch a dictionary program opened to a specified word. It could be used to run a specific command in an elevated (administrator's privilege) command prompt. The possibilities are practically limitless.
How does it work?
The search bar would have defined listener cues followed by necessary argument parameters. Certain cues, for example, could be
!w
for launching a Wikipedia entry for whatever comes after!w
. A full example could be:!w "Elvis Presley"
would open the Wikipedia page for the king of R&R using the default web browser. Another example is^ Explorer.exe "C:\Windows\System32"
would launch the windows directory explorer running as administrator opened to the system32 folder. You can define your own custom actions in the Open-Shell options menu.Others have done it before.
Popular search engine DuckDuckGo calls them Bangs. Although, their Bangs is limited to just searching on different services; It doesn't let you run code or open programs on your computer. WhiskerMenu on Linux does exactly what I'm discussing. It's actually where I got the idea. WhiskerMenu calls them "Search Actions." That's All I know.
Beta Was this translation helpful? Give feedback.
All reactions