Hi,
Can XYplorer switch to single pane and hide the navigation panels? I found the command codes for toggling them, but not separate commands for showing/hiding them. Ideally I'd like it to automatically switch to a compact layout that hides everything besides the tab bar and the file list, but I don't think that is possible so I plan to assign 1-2 keyboard shortcuts for switching between the compact and the full layouts.
Trying to implement a layout that adapts to the window size/state
Re: Trying to implement a layout that adapts to the window size/state
Code: Select all
"Hide"
// Just
if (get("#663")) { #663; } // Navigation panels
// Alternatively, with single items
// if (get("#800")) { #800; } // Dual Pane
// if (get("#664")) { #664; } // Show Catalog
// if (get("#668")) { #668; } // Show Tree
"Show"
if (!get("#663")) { #663; } // Navigation panels
// if (!get("#800")) { #800; } // Dual Pane
// if (!get("#664")) { #664; } // Show Catalog
// if (!get("#668")) { #668; } // Show Tree
One of my scripts helped you out? Please donate via Paypal
Re: Trying to implement a layout that adapts to the window size/state
You may also want to take a look at this recent thread and small script here viewtopic.php?t=27095. You provide a list of tab IDs for those tabs that you want a full list panel with no nav panel and set a Custon Event Acrion for "Switch Tabs" and "Switch Panel" and it will automatically remove the nav panel from those tabs that you do not want see it (e.g., viewing PDF files, or pictures etc.) It's very seamless and fast and easy to set up.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440