Hi, does anyone know if there is a way via scripting to go to a specific folder (e.g., C:\) or select a locked tab (already set on C:\) in the
inactive pane (pane 2) without actually going into (opening/focusing) that pane. I have a small script that sets my so-called base setup (e.g., root of C:\), with all the my "normal" navigation panel, menu and tool bar arrangements something like the code below. I'm using this many times a day. But in the same script, I'd also like to establish my pane 2 to my base location instead of some oddball place I last left it in when using pane 2. So when I do return to pane 2, it will already be in my tab #1 position which happens to be the root of C: drive. Obviously, the main point is within the script, I want to do this without having to change to pane 2 to accomplish the above. Is that possible or maybe it happens fast enough that I shouldn't care?
Code: Select all
seltab 1;#1040; //or use #552;goto "C:\";#1009;#1040;
if get(#660) {#660;} // Address Bar
if !get(#661) {#661;} // Tool Bar
if !get(#662) {#662;} // Tab bar
if !get(#663) {#663;} // Nav Pnl
if !get(#664) {#664;} // Show Catalog
if get(#665) {#665;} // Info Pnl
if !get(#670) {#670;} // Status Bar
if get(#671) {#671;} // Breadcrumb Bar
if !get(#1061) {#1061;} // Menu Bar
if get("#800") {#800;} // Dual Pane
I know I can call out Command ID #811 to "swap panes", use seltab 1, and then call out #811 again, but I was curious if there might be a way without actually swapping panes.
I noticed that the last tab used is spelled out in the current "pane.ini" file [General] | Location in the pane directory, but I was hoping I wouldn't have to resort to using "setkey" to change that value. There's also variable <path2> which I can obtain but can I change it directly?
By the way, does anyone know when the "t" sub directory is make under the pane directory? I noticed it appears to be there only when the pane(s) is in use or active.
Thanks,
Ken