Skip to content

Instantly share code, notes, and snippets.

@tablacus
Created May 10, 2018 22:14
Show Gist options
  • Save tablacus/1e11bb2571fa318eecf1c9c1c0cf008e to your computer and use it in GitHub Desktop.
Save tablacus/1e11bb2571fa318eecf1c9c1c0cf008e to your computer and use it in GitHub Desktop.
Auto columns size - Tablacus Explorer
FV.CurrentViewMode(4,16);
setTimeout(function()
{
FV.Columns ='"System.ItemNameDisplay" -2 "System.DateModified" -2 "System.Size" -2 "System.ItemTypeText" -2';
}, 99);
@Kristinita
Copy link

Type: Question

1. Question

What needs to be done so that the behavior of this script is default?

2. Expected behavior

TE user open any folder (no matter, in current or new tab) → columns auto sized without any trigger (as hotkey or click to menu item).

I can't find something similar to “open new folder hook”.

3. Note

System.ItemTypeText is extra in this mode.

Type column

User can see:

  1. File/folder icon
  2. Extension

And determine the type based on this data.

(Maybe Type column needs for sorting, but I never used it as these)

Thanks.

@tablacus
Copy link
Author

Please use an add-on Folder settings
image

First set up a view for general file folders (use * as filter).

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment