07-10-2015, 11:56 AM -
Quote:I know that I can move the items around by clicking the item from the TLB and positioning it where it should be but is there also some manual way of sorting by editing the file?Yes, you can, the item positions are stored in the files named tlbdata.xml. Right-click your menu and select "Open in explorer" to open the menu folder inside the toolbar folder. Open the selected folder in explorer and edit file tlbdata.xml. You need any editor that can reformat XML files into more readable view (I recommend Notepad++). So the xml file looks like
Code:
<tlbdata>
<folder name="">
<layout>
<item name="A4 TECH PC Camera H"/>
<item name="Administrative Tools"/>
<item name="Maintenance"/>
<item name="Microsoft SQL Server 2005" hidden="1"/>
<item name="MiraScan V6.3 (5560 series(Q66))"/>
<item name="Startup"/>
<item name="Accessories" iconLocation="C:\WINDOWS\Cursors\Accessories\Accessories.ico,0"/>
If this is the virtual folder you can see the layouts for submenus:
Code:
<childs>
<folder name="Administrative Tools">
<layout>
<item name="Event Viewer.lnk" LastAccess="128279841586370000" runCount="1"/>
</layout>
</folder>
<folder name="Accessories">
<layout>
<item name="Calculator.lnk" LastAccess="128799512452440000" runCount="1"/>
<item name="Remote Desktop Connection.lnk" LastAccess="128383440037010000" runCount="6"/>
<item name="Snipping Tool.lnk" LastAccess="130252191644510000" runCount="3"/>
</layout>
Quote:Also am curious as to why the positions got scrambled.What TLB version do you use? Do you remember is something like "Customize menu" was used? This can reset the item positions with some conditions: if you turn on any of options "Overwrite sub-menu options" or "Remove the menu levels in sub-menus".
The TORDEX Team
http://www.tordex.com
http://www.tordex.com