I would like to know if it is possible to have one of my hotkeys set to change the current lister (or all listers) so it only displays two columns, filename and size. However, I would like the change to just be temporary, I don't need/want folders to just display those columns whenever I open them. Basically I want to use a "format" but have it not be permanently applied to the folder, and also enable format lock. I then want to be able to toggle this on and off with a hotkey. Styles seem to work for this but I'm not sure how to toggle them, and then seem to make the column changes permanent for each folder.
Not sure if I've explained that too well, but hopefully someone can help me.
Styles would be a way to go... but you couldn't exactly 'toggle' style changes the way you want with a single hotkey... You'd need to save your 'default format' that you normally like to view folders with as it's own style, and then have TWO hotkeys... one that would load your 'filename and size' column only view, and then another that would return you to your 'default' view.
Probably the best thing to use is something like:
Set COLUMNSTOGGLE=modified,attr,type
This will truly 'toggle' the columns... My normal format options display the columns listed above along with filename and size, so running this command changes MY folder view to the one YOU want, and then toggles it back with the same hotkey. you would need to add toggle arguments for whatever non-filename and non-size columns you normally display to get the same effect...
The drawback to THIS method is that if you sometimes add or remove DIFFERENT columns than what you 'usually' display as your default, then any columns NOT defined as a toggle arguments will remain displayed... and if you ADD them to your toggle args, then if you run the hotkey at a time when those 'other' columns are NOT displayed, then they will be displayed when you run the toggle hotkey etc etc... if you know what I'm saying.