Activate Specific Lister?

Hi everyone,

Can someone please tell me the command to have focus on a specific lister?
For example;

I have a toolbar above lister 1 and a toolbar above lister 2.
If I use the toolbar on lister 1 I want it to perform a function on lister 1 and not necessarily the lister which is currently 'active'.

Can this be done?

thanks!

i'll expand on my question just in case it's not understood....

Just like in Total Commander, you have a drive bar for each lister.
The drive bar belongs to that lister so If I click 'C' it shows the contents of this drive directly beneath the lister.

I hope this makes sense.

thanks guys

Are you talking about toolbar buttons in separate top-level windows, or do you mean you have toolbars that are part of a dual-file-display window and you want some buttons to act on the left/top display and some to act on the right/bottom file display?

If it's the latter, you can add the OPENINLEFT and OPENINRIGHT arguments to any buttons which use the Go command (including Go DRIVEBUTTONS). You can also have single buttons which open things on the left or right depending on which mouse button you click them with.

I think he wants the drives "C:, D:, E:, F: G:" etc. over each pane of a dual lister.

Or maybe the breadcrumbs location bar in two separate lister windows perhaps?

that's correct, is it possible?

Yup, using the OPENINLEFT and OPENINRIGHT I mentioned earlier.

There's an example toolbar I just made in the attached zip.



DualDrives.zip (662 Bytes)

[quote="leo"]Yup, using the OPENINLEFT and OPENINRIGHT I mentioned earlier.

There's an example toolbar I just made in the attached zip.[/quote]

thanks, ill check it out.

If Leo's suggestion is close to what you want, you might want to consider using the multifunc argument instead of OPENINLEFT and OPENINRIGHT. Multifunc let's you have just one set of drive icons but you can open in either the left pane or right by left clicking or right clicking.

interesting, some really good tips from everyone.

Thanks guys!

[quote="leo"]do you mean you have toolbars that are part of a dual-file-display window and you want some buttons to act on the left/top display and some to act on the right/bottom file display?

If it's the latter, you can add the OPENINLEFT and OPENINRIGHT arguments to any buttons which use the Go command (including Go DRIVEBUTTONS).[/quote]

Hi Leo & forum,

just found this interesting topic. Is the above by you, Leo still the way to go?

I have a dual-file-display window (two listers side-by-side), and have the same set of buttons placed above each lister for convenience. However it always happens to me that I forget to switch focus to the correct lister, then for example click on a button above the left lister, which then acts on the right lister because that lister still has focus.

Thanks for any hints,
Regards David.P

You can usually use Set FOCUS=Left, and similar for the right, at the top of each command.

OK thanks Leo