Hi. I've created a new FAYT script to use DOpus (thanks to the new additions since v13.7.4 regarding Everything) as a launcher. It works great.
However, as can be noticed in the video, there's something about the suggestions list. Whenever I type something, I get some suggestions, but only those that specifically starts with the entered text. I assume this is because, whenever I select one of the suggestions in the list, the FAYT fields autocomplete the remaining text using that suggestion (so it can't erase what I wrote earlier).
Would it be possible to disable that behavior? So the autocomplete doesn't trigger, and I can get suggestions based on a partial match (not necessary at the beginning), and also retrieve the selected suggestion's content (because that will be necessary in this scenario)? Not sure if that 's possible, so better to ask than assume it isn't.
Thanks.
AFAIK there isn't currently a way to do the suggestions pop-up with mid-string matches.
The way I handled something similar was to build the suggestions list with multiple items pointing to the same thing, so e.g. "C64" points to "Commodore C64" and typing either will work:
But that solution only works if you can split things into words (or acronyms etc., similar to how that script lets you type "GBA" to go to "Game Boy Advance") and where the script can predict all the possibilities in advance.
I have a feeling the pop-up control used for FAYT suggestions can only deal with prefixes, but I might be wrong. Of course, it could be replaced with another (custom) control, but that would be on a longer timeframe.
Thanks Leo. I had also considered "tokenizing" by words, but in that case, many entries would be lost, since there can only be one suggestion per word.
I think that as it is it is acceptable, taking into account that the FAYT scripts are something recent, they have a lot of potential for development in later versions.
Thanks.