A shortcut to navigate to a directory in a specified panel?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
hiccup
Junior Member
Junior Member
Posts: 63
Joined: 2018-05-13, 08:04 UTC

A shortcut to navigate to a directory in a specified panel?

Post by *hiccup »

I have setup two identical buttonbars, one above the left, and one above the right panel.
My aim is to have all the buttons only operate on the panel below it.

For most buttons I have been able to do that by combining commands, starting with either cm_FocusLeft or cm_FocusRight.

But I can't accomplish that for buttons that will take me to a specified directory.

e.g.:

Command: CD
Parameters: D:\Documents

works fine.

But as soon as I change the command to: cm_FocusLeft, CD
the 'Parameters' entry gets greyed out, so the directory path can't be entered anymore.

Is there a way to accomplish this?
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Create a user-defined command (usercmd.ini) like


[em_myCD]
Command: CD
Parameters: D:\Documents




Next use that UDC in button like:
Command: cm_FocusLeft,em_myCD
Parameters:






 
hiccup
Junior Member
Junior Member
Posts: 63
Joined: 2018-05-13, 08:04 UTC

Post by *hiccup »

Thank you for guiding me to new unexplored territories Stefan2.

Thanks to the great tutorials you posted at:
https://www.ghisler.ch/board/viewtopic.php?t=40954&highlight=userdefined+command&sid=0bb329dc2414fc83234fd79112eca4ee

I managed to get it working nicely already.
Post Reply