BACKGROUND:
Find+Run Robot
v2.30.01 by DonationCoder
working with custom-made fscript javascript plugin
QUESTION:
How can you apply the tab-autocomplete feature to fscript-generated
FARR results?
DETAILS:
I am custom generating a list of output results from a javascript plugin
using the really great plugin system. I would like to be able to autocomplete
and let the user press tab to make the completed suggestion appear in the
launcher input box. The steps below describe what I am trying to do.
STEPS:
- user enters the alias to trigger the plugin
fooscript <-- FARR user input box
- the fooscript plugin returns a long list of results
- the user types some text to narrow down the results
fooscript base <-- FARR user input box
- the result list now shows only those entries that have:
1) the word "base" in the launch list; or
2) the word "base" in the path string down in the FARR statusbar
(both of these are generated by the fscript)
For example:
fooscript base <-- FARR user input box
play.baseball <-- result list
clean.basement
base64.encode
base64.decode
insert.basename
- NEEDED: what i would like to do is allow the user to arrow down
to one of the items in the filtered result list, and then press
TAB. In the previous example, the user presses arrow down
three times and then TAB to get this:
fooscript base64.encode <-- FARR user input box
RATIONALE:
The reason why I would like to do this is because the user
should be allowed to enter additional arguments before triggering
the command:
fooscript base64.encode "hello world" <-- FARR user input box
*The user would now press ENTER and the fscript will take the
result and run the appropriate action*
ALTERNATIVE:
I notice that you can always right-click an item in the result
list and choose "copy path" ... the problem with this is it copies
the status bar text at the bottom, and I would like it to copy the
text from the result list instead. This way the user could copy
and just paste into the FARR user input box.
Does anyone know how to get autocomplete working this way?
TIA
Find+Run Robot
v2.30.01 by DonationCoder
working with custom-made fscript javascript plugin
QUESTION:
How can you apply the tab-autocomplete feature to fscript-generated
FARR results?
DETAILS:
I am custom generating a list of output results from a javascript plugin
using the really great plugin system. I would like to be able to autocomplete
and let the user press tab to make the completed suggestion appear in the
launcher input box. The steps below describe what I am trying to do.
STEPS:
- user enters the alias to trigger the plugin
fooscript <-- FARR user input box
- the fooscript plugin returns a long list of results
- the user types some text to narrow down the results
fooscript base <-- FARR user input box
- the result list now shows only those entries that have:
1) the word "base" in the launch list; or
2) the word "base" in the path string down in the FARR statusbar
(both of these are generated by the fscript)
For example:
fooscript base <-- FARR user input box
play.baseball <-- result list
clean.basement
base64.encode
base64.decode
insert.basename
- NEEDED: what i would like to do is allow the user to arrow down
to one of the items in the filtered result list, and then press
TAB. In the previous example, the user presses arrow down
three times and then TAB to get this:
fooscript base64.encode <-- FARR user input box
RATIONALE:
The reason why I would like to do this is because the user
should be allowed to enter additional arguments before triggering
the command:
fooscript base64.encode "hello world" <-- FARR user input box
*The user would now press ENTER and the fscript will take the
result and run the appropriate action*
ALTERNATIVE:
I notice that you can always right-click an item in the result
list and choose "copy path" ... the problem with this is it copies
the status bar text at the bottom, and I would like it to copy the
text from the result list instead. This way the user could copy
and just paste into the FARR user input box.
Does anyone know how to get autocomplete working this way?
TIA









