Page 1 of 1
Ability to customize path completion shortcut?
Posted: 23 Mar 2010 17:47
by WordBaron
I don't know if this function is currently available, but I've looked around and I can't seem to find it. I often find while I'm typing in the address bar of XYplorer that I want to hit the "Tab" key to autocomplete the entry. While the down arrow is an option, it's not nearly as convenient and easy as the tab key which other programs use including just a simple DOS prompt. Is there a way that I can change that auto-complete option to use the tab key and not the down arrow? (I checked the "keyboard shortcuts" and didn't see an option for that ability.)
Re: Ability to customize path completion shortcut?
Posted: 23 Mar 2010 18:09
by serendipity
WordBaron wrote:I don't know if this function is currently available, but I've looked around and I can't seem to find it. I often find while I'm typing in the address bar of XYplorer that I want to hit the "Tab" key to autocomplete the entry. While the down arrow is an option, it's not nearly as convenient and easy as the tab key which other programs use including just a simple DOS prompt. Is there a way that I can change that auto-complete option to use the tab key and not the down arrow? (I checked the "keyboard shortcuts" and didn't see an option for that ability.)
Yes, currently only down arrow is supported. I think its because "tab" is used for moving focus between other elements of XY like list, tree etc. Maybe you already noticed that once you press that down arrow, you can use tab to navigate auto-complete.
One option for you would be to combine the focusing of address-bar (AB) with sending the down arrow key to XY via scripting.
You could add a new command in menu User>Manage commands>Run script and add this script in script field:
#1014; sendkeys "{DOWN}";
You can assign a keyboard shortcut to it. So next time you press that key, it will focus AB and autocomplete will already be ready for you to use tab right away.
I know its a crude way to do it, but just showing that its a possible workaround maybe.
Re: Ability to customize path completion shortcut?
Posted: 23 Mar 2010 18:48
by WordBaron
I did think about doing some scripting but the problem is that with each new directory I need to hit the down arrow again. I guess I just like how things like "Launchy" and the command prompt allow you to hit tab and quickly move to the next path in the list. I do appreciate how XYplorer allows users to navigate between different controls, I just wish I could have a particular override for the address bar because I'm so used to autocompleting with the tab key. Thanks for the help though!
Re: Ability to customize path completion shortcut?
Posted: 23 Mar 2010 19:18
by serendipity
WordBaron wrote:I did think about doing some scripting but the problem is that with each new directory I need to hit the down arrow again. I guess I just like how things like "Launchy" and the command prompt allow you to hit tab and quickly move to the next path in the list. I do appreciate how XYplorer allows users to navigate between different controls, I just wish I could have a particular override for the address bar because I'm so used to auto-completing with the tab key. Thanks for the help though!
I suggested that workaround because it was a specific need for you and I understand that we all have special needs, and scripts are great in fulfilling those user-specific needs. But sometimes if those needs are shared by many then Don considers them and implements them into XY directly. I would say if there is a great demand for this feature or Don likes it very much he would definitely consider it.
By the way, the script i posted works fine here on every directory. What key are you using? I tried alt+z here.