Pane.ini Documentation
Posted: 13 Nov 2014 04:15
I caught myself modifying the pane.ini files manually too often. During the research phase of a tabsetTweaker script I found out what most keys in the pane.ini files do, and how their values are generated. I thought the knowledge would be useful to others. Here's that partial documentation. It's a xys script that opens in Sublimetext. But it is better viewed with INI syntax/color scheme in your editor.
Code: Select all
"Pane Ini Definition"
openwith "..\SublimeText\sublime_text.exe", s, self(file);
end 1;
<<<RANDOMSTRINGPLEASEBERANDOM
;current tabset state is stored as <xydata>\Panes\<tabset_name>\t\pane.ini
;tabset state is stored as <xydata>\Panes\<tabset_name>\pane.ini ["Revert to saved"]
;each key is explained by ini-style comments. Indented comments are used for
;further topical explanation (or comment continuation)
;Indented comments immediately after a key belong to that key's commentary.
;use ini syntax/coloring scheme in your text editor if available
;also turn off word-wrap, and enable whitespace visualization
;Conventions
;Mode = List mode: ListBrowse, ListFind, ListDrives, ListNetwork, ListRecycler
;Style = list Layout in XY lingo. Columns,Size+date+time format,CustomizeList state
;TODO
;complete definition of [Tabs]\A#, [tabs]\B#
;reduce comment-confusion
;========pane.ini definition==========
;====Start of a typical pane.ini file====
;ini file contains 3 following comments.
;1st line:file description, 2nd line:OS description, 3rd line:last save time.
;XYplorer 14.40.0315 configuration file: panewise settings
;Windows 7 Ultimate (Service Pack 1), 64-bit
;2014-09-15 13:19:35
[General]
;version of XYplorer when this file was last saved
LastVer=14.40.0315
;active location (location of the active tab)
Location=C:\Portable\XYplorer\XYData
;ID of the tab set as default (0 if none defined)
IDDefaultTab=0
;Default Styles of each list mode saved in corresponding [List<Mode>] sections
;New tabs in corresponding mode will have these mode-styles unless overridden by:
;FVS or calling tab's B1 key (see [Tabs] section) or
;"Apply list style globally" or "RememberList settings per tab" config options
;===styles of the pane in different modes===
[ListBrowse]
;Sort order.
;1stSort,a/d;2ndSort,a/d ; (a=ascending; 2ndSort recorded only if applied in list.)
Sort=Name,a
;1st and 2nd sort correspond to sorted column's title
;Size format.
;0-based index of selected "Size format" menuitem in Size column ctxmenu/Customize List->Size Column Format
;NOT including show folder sizes/space used etc. Those are saved in <xyini>
Num=8
;Tab style.
;Enabled styles in Tools->Customize List.
;convert the decimal value to binary. FROM LEFT, the 0's & 1's correspond to the on/off
;state of "Customize List" menuitems, FROM TOP. (001: 1st two menuitems off, 3rd one on)
Style=1847
;View mode.
;0-based index of selected "View Style" menuitem (View->Views/pane ctx menu->Views).
View=0
;Date format.
;0-based index of selected menuitem in Date columns ctxmenu/Customize List ->date formats, after the 1st separator
Date=0
;Time format.
;0-based index of selected menuitem in Date columns ctxmenu/Customize List ->Time formats, after the 2nd separator
Time=0
;state of Custom list-> Date Column Format->Show Age
Age=0
;state of Custom list-> Date Column Format->Show Weekday
Day=0
;state of show times in UTC is exiled to <xyini> \('_')/
;Default columns of [ListMode].
;Same syntax as SC setcolumns() ([+:visible]ColumnID.pxWidth,...)
Columns=Path.200,+Name.256,+:d-13.37,+Ext.60,Type.64,+Size.82,+Created.156,+Modified.156,+Attr.92,Label.64,+Tags.150,+Accessed.76,Len.24,Index.64,Comment.18,Extra 1.18,Extra 2.18,Extra 3.18,Extra 4.18,Extra 5.18,Custom 1.18,Custom 2.18,Custom 3.18,Custom 4.18,Custom 5.18,
;===styles for other list modes.===
;Skipped because structure is completely identical to ListBrowse.
;(although some columns are exclusive to certain listmodes. Examples in [ListDrives], [ListRecycler])
[ListFind]
;...
[ListDrives]
;...
Columns=Index.64,+Name.250,+Type.105,+Total Size.79,+Used Space.79,+Free Space.79,+Free %.57,+Per Cluster.70,+Vol Serial.68,+File System.78,
[ListNetwork]
;...
[ListRecycler]
;...
Columns=Index.64,+Name.180,+Ext.60,+Size.76,+Original Location.210,+Deleted.138,Type.64,+Modified.138,Created.138,Accessed.76,Attr.92,Len.24,+Recycled Name.200
;styles when browsing Portable Devices
[ListBrowsePD]
;...
[ListFindPD]
;...
[ListDrivesPD]
;...
;===all open tabs are recorded in this section===
[Tabs]
;tabset settings/engine version?
Version=3
;ID of active tab (0:leftmost tab)
LastTab=8
;recent sequence of tabs.
;BAC means tabs were recently activated in this order: 2->1->3, from left
MRU=GFHDBCEA
;total tabs in pane
Count=8
;===tabs records===
;tabs are recorded below as a set of the keys I#,C#,D#,A#,B#,H#,M# - where # is a number++.
;===KEYSET FOR Tab 4===
;tab ID (value partly depends on tab creation sequence ?) [I#=Id#]
I4=8
;caption (only populated if changed manually) [C#=Caption#]
C4=|scheme\apps.ico
;base location [D#=Directory#]
D4=C:\Program Files\;C:\Program files (x86)\
;tab's active style [A#=Active#]
;structure: tabtype<tab>listtype<tab>columns<tab>sort<tab>focused item:[+:selected too]lineNum|path<tab>VisualFilter<tab>special/Quick search Path ?<tab>?<tab>View plus something<tab>?<tab>Quick Search (the part of it after path)<tab>?<tab>?<tab>Style
A4=1 1 +Path.160,+Name.220,+:d-13.37,+Ext.60,Type.64,+Size.76,+Created.138,+Modified.138,+Accessed.76,+Attr.92,Label.64,+Tags.150,Len.24,Index.64,Comment.18,Extra 1.18,Extra 2.18,Extra 3.18,Extra 4.18,Extra 5.18,Custom 1.18,Custom 2.18,Custom 3.18,Custom 4.18,Custom 5.18, Path,a 0|C:\Program Files\desktop.ini C:\Program Files\;C:\Program files (x86)\ 0 0 /n:dir C:\ 1847
;tabtype:bitfld. 1:locked,2:homezone locked,4:iconized,8: , ...
;listtype:bitfld. 1:find,0:browse,4:recycler,2:drives,8:(?)network, ...
;tab's base/default style [B#=Base#]
;structure: ?<tab>Num<tab>Style?<tab>?<tab>?<tab>?<tab>?<tab>?<tab>columns<tab>sort
B3=0 2 1151 0 0 0 0 0 +Path.160,+Name.220,+:d-13.37,+Ext.60,Type.64,+Size.76,+Created.138,+Modified.138,+Accessed.76,+Attr.92,Label.64,+Tags.150,Len.24,Index.64,Comment.18,Extra 1.18,Extra 2.18,Extra 3.18,Extra 4.18,Extra 5.18,Custom 1.18,Custom 2.18,Custom 3.18,Custom 4.18,Custom 5.18, Name,a
;Home location [H#=Home#]
H4=C:\Program Files\;C:\Program files (x86)\
;Tabstyle when Home was set [M#=Main# ?]
;structure: [see A#]
M4=4 1 +Path.160,+Name.220,+:d-13.37,+Ext.60,Type.64,+Size.76,+Created.138,+Modified.138,+Accessed.76,+Attr.92,Label.64,+Tags.150,Len.24,Index.64,Comment.18,Extra 1.18,Extra 2.18,Extra 3.18,Extra 4.18,Extra 5.18,Custom 1.18,Custom 2.18,Custom 3.18,Custom 4.18,Custom 5.18, Path,a 0|C:\Program Files\desktop.ini C:\Program Files\;C:\Program files (x86)\ 0 0 /n:dir C:\ 1847
;(used by Config->Tabs->"Going home also restores the list layout")
;===tab history===
[History]
;total items recorded in history
Count=1
;current location correspond to this history index
Cur=1
;each history item is stored as a pair of # & #t keys (eg 6 & 6t), where...
;#, the keyname itself, denotes the index/ID of history item and it's *value* is the history location
1=C:\Portable\XYplorer\XYData\
;... and value of #t is the tab ID for which the item was recorded
1t=6
;====[End of a typical pane.ini file]====
RANDOMSTRINGPLEASEBERANDOM