ueli
ueli copied to clipboard
[Feature Request] Pass Arguments to Program
I'm coming from Launchy and just was wondering if there's a way to pass arguments to a program/shortcut. Launchy allowed you to search for something, then hit tab, and a little arrow would appear and anything you typed after it would be redirected as an input argument to the program.
For example:
I could type Find, press tab, input a search query, and press Enter, and it would open an Everything search window with that query.
Is there any way to do that with ueli?
Hello @HeyItsJono, long time user of Ueli, really like it. I can resonate that this is area where features can be added. So far (to my knowledge, please everybody feel free to add), there are a few ways to deal with this:
- Use a command line tool whereas you have a program on your filesystem that receives your arguments and does whatever you want. So you would summon it with something like
> myScript.ps arg1 arg2 ...
This will launch a new terminal window run the script and pass the arguments. Here are the things that can be improved:
- This leaves a window that has to be manually closed
- Passing arguments that have single/double quotation and weird symbols can be hit or miss depending on the platform you're running ueli, the interpreter running your script (PowerShell, CMD, bash on mac etc)
- For websites / REST calls (GET) you can create a search engine in Ueli and define a {{query}} variable and pass your arguments there. This of course is not what you asked BUT the reason I bring it up is because it offers the kind of "clean" experience you're referring. Just issue a call with
<receiving-program> arg1 arg2
and then the thing just handing it to the intended receiving program (in this case the browser is the only option)