-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature Request: Default Action #153
Comments
It wouldn't be that difficult to add, but you could probably just as easily create a new bundle, say we call it
|
Maybe, but if you're using Lintalist as a launcher (like I am), the convenience is having a single familiar gui to start from for almost everything you do. (For a person who is bad at multitasking, but forced to do it by profession, a single gui starting point such as this is a very Zen thing to have.)
.... [edited to remove email addresses] ...
|
OK but how do you decide what and where it should go? Should it always launch a script e.g. I can imagine you can prepare an INI file with "Actions" so you enter text, say "ping 127.0.0.1", you hit enter and a menu? or the Choice plugin Gui pops up and you select AHK: ping 127.0.0.1 and the ini looking something like this [ahk]
code=Run %query%
[cmd]
code=runwait %comspec% /k %query%
[google]
code=Run google.ahk %query% |
Yes, I think it would be user-configurable such that the user could point LL to an ahk file which would use the contents of the input as a_arg[1]. I personally would create an ahk file that would take that and pass it to run, % a_arg[1]. But I don't think you'd want it more elaborate than that.
So, say you configured LL to have a "default handler" of "c:\ahk\run.ahk". Then, assume you typed "iexplore.exe" into the LL input and no hits matched. Then you press enter. Then LL would execute a tmp script as "run, c:\ahk\run.ahk "iexplore.exe""
|
I can add it but will do so using three hidden settings as I think it won't be used by the average user.
|
Make a backup of lintalist.ahk and include\readini.ahk just in case, unpack files with folder structure to lintalist folder, restart, edit settings.ini and change QueryAction=0 to QueryAction=1 and restart. Open lintalist search, type something, press F12 and it will run So you will have to modify Somewhat related: https://github.com/lintalist/lintalist/blob/master/plugins/readme-howto.txt#L129 |
What do you think about having the option for LL to execute a default action on text in the input box if no matches are found for it and/or upon a hotkey press?
I, for one, would use it send the text to cmd or run.
The text was updated successfully, but these errors were encountered: