How to put input focus in "Location:" field for new tab

Version: DOpus 8.2.2.5 U.

I used to have this working but lost it after a machine change.

I'd like input focus to be placed in the "Location:" field whenever I create a new tab. I create new tabs only with so a solution tied to that hotkey would work for me but I don't think that's how I used to have it working.

Thanks for any help.

I can't think of a command that would do that, but I guess there must be one if you used to have it working.

It'd be easy to make a button which pops up a text box, or a choose-directory dialog, asking you where you want the new tab to go but as far as I can remember there isn't a command which open a new tab and then set the focus to the Location field.

You can set a hotkey that sets the focus to the Location field but that hotkey can't also open a new tab.

There's the Go PATHENTRY command, but that pops up a temporary field at the bottom of the lister, rather than going to the Location field in the toolbar. It also doesn't seem to work in conjunction with opening a new tab since the tab takes the focus and causes the pop-up field to go away.

Darn. Thanks for your reply. I'll keep chewing on it.

None of the other path 'field' specific args seem to work from a generic hotkey either... Mine location field runs Go PATHFIELDPATHTREE and I tried editing the pathbar.dop file to appened a NEWTAB arg... but it's ignored. Same thing with adding another raw tag to run a separate Go NEWTAB command...

It would be nice to have a generic command that will set focus to any given field...

I definitely had this working at one time. But I withdraw my claim that it used the "Location:" field. Consistent with something nudel mentioned, I believe it was indeed a special, temporary path entry field that was opened and input focus was placed in there.

I have it working now. Adding "Go PATHENTRY" to the <Ctrl + T> key definition did it.

Steps:

  1. Go to Settings|Customize.
  2. Chose Keys tab.
  3. Selected "Ctrl + T".
  4. <Edit...>
  5. Pressed <Advanced...>.
  6. Added the line

Go PATHENTRY

below the existing Function line that said

Go CURRENT NEWTAB

resulting in two lines:

Go CURRENT NEWTAB
Go PATHENTRY

Thanks for all the help, guys.