AutoHotkey: TC Fav Menu: Features and Installation: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<pre>
<title>TC FavMenu 1</title>
TC FavMenu 1.0 beta07
for Windows XP & 2K


This is Total Commander utility.  
<style>
It will make TC favorites available in the system.
<!--
It will also make TC Favorites to become Open/Save dialog enhancer (for standard dialogs)
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Verdana Ref";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.Code, li.Code, div.Code
{margin-top:0cm;
margin-right:1.0cm;
margin-bottom:0cm;
margin-left:1.0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.NormalinGrayBox, li.NormalinGrayBox, div.NormalinGrayBox
{margin:0cm;
margin-bottom:.0001pt;
background:#E6E6E6;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Verdana Ref";}
@page Section1
{size:921.0pt 1584.0pt;
margin:0cm 93.0pt 0cm 54.0pt;}
div.Section1
{page:Section1;}
/* List Definitions */
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>




------------
<div class=Section1>
INSTALLATION
------------
You can run application either by starting .exe or .ahk.
To run .ahk, you must have AutoHotKey installed  (www.autohotkey.com)
Make sure you have something in the TC Favorites menu before starting the script.


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:20.0pt;
font-family:Verdana'>TC FavMenu </span></p>


--------
<p class=MsoNormal style='margin-left:38.5pt'><span style='font-size:18.0pt;
FEATURES
font-family:Verdana'>FavMenu Editor</span></p>
--------
- Full TC favorites. Possible items in the menu are:


  TYPE COMMAND
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:Verdana'>                      for
  -------------------------------------------------------------------------------------------
Windows XP &amp; 2K</span></i></p>
  1. PATH: cd <path>
  2. PLUGIN: cd <\\\plugin>
  3. PSEUDOVARIABLE: cd %$var%\path.. (see TC help for more info about pseudovariables)
  4. EXECUTABLE: <path_to_exec> (may contain pseudovariables or environment variables)


Examples:
<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;</p>
    %$WINDOWS%\System32\Notepad.exe  (TC doesn't support this pseudovar)
  %w%%s%%n%     (where w=C:\windows, s=\system32, n=notepad.exe)
  %UTILS%\Edit Plus\Editplus.exe "c:\boot.ini" "c:\1.txt"
  c:\boot.ini (will be resolved via associations)


NOTE: Script support more pseudovariables then TC. See pseudo.ahk for
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
      full list.
font-family:"Verdana Ref"'>&nbsp;</span></b></p>


- Enter (on menu item):
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
  If
font-family:"Verdana Ref"'>OVERVIEW</span></b></p>
    * Open/Save dialog is active (commctrl32.dll dialogs)
      If selection was:
PATH   : change the path in the dialog
PLUGIN   : open or activate TC
EXECUTABLE : run the application


    * Any other window is active: open or activate TC
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:8.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>TC
FavMenu is standard Open/Save dialog enhancer and application launcher.</span></p>


- CTRL + Enter (on menu item):
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>It
  Open Properties dialog with selected item. Move around with buttons. You can change
uses ini file to store information about your favorite folders and
  title, command and set icon. Icons are 12x12 with first pixel holding transparent color.
applications.</span></p>
  Press Save on every individual item to save changes. It is much faster to use this dialog
  then TC's editor for single item change.


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
- SHIFT + Enter (on menu item):
  Open selected item in new TC tab


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Format
of the menu ini file is compatibile with Total Commander file manager <i>directory
menu</i>, and was originaly written to </span></p>


- Setup dialog
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>work
  On first run, Setup dialog will search for TC location in the registry and if not found it will
as addon for this file manager but it can be used without it. All features of
  also try %COMMANDER_PATH% environment variable. If TC still can not be found, you will
TC directory menu are supported, including </span></p>
  have to specify full paths to totalcmd.exe and wincmd.ini yourself. You can set hotkey
  here and menu position.


  Later, you can call this Setup dialog via the tray menu. You can delete setup and force
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>plugins
  autodetection, with "Delete Config" item.
and pseudovariables. Furthermore, TC doesn’t need to be started. </span></p>


  If you want to run TC with parameters, create shortcut to TotalCmd.exe, (.lnk), then edit
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
  shortcut properties to add desired parameters. In setup dialog, specify this lnk file as
  TC executable.


- If TC is open, current left & right folders will be displayed at first 2 positions.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Menu
  If they are the same only 1 will be visible.
Editor can be used to create, edit, delete and organise menu items.</span></p>
  If menu is called with TC active, this will not be displayed.


- Menu is refreshed on every call, so when you update your Favorites in TC changes will be
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>This
  seen immediately.
is complete replacement of TCs internal <i>directory menu </i>editor witch adds
many new options.</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>It
can be used together with FavMenu or separate.</span></p>


-----
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
NOTES
-----


- If you have empty sub menus, script will not work.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Both
programs use the same ini file to store configuration </span><span
style='font-size:13.0pt;font-family:"Courier New"'>_Config.ini</span></p>


- Menu is collected from wincmd.ini [DirMenu] section. Format of this menu is:
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>


  menuN = <title>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
  cmdN = cd <path|plugin|pseudovarialbe>  |  executable
 
  While building the menu, section will be iterated sequentially up to the first menuX item
  that doesn't exist. If, for some reason, your TC menu has "hole" in a sequence, script
  will rise errors or will not display the complete menu.
  This menu, for instance will not work good:
  menu1=item1
  menu2=item2
  menu4=item3


  To make sure your menu is not messed-up, open TC Favorites configuration and click OK
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
  button. TC will rebuild the menu sequentially. If you still have problems, delete
font-family:"Verdana Ref"'>INSTALLATION</span></b></p>
  everything (backup wincmd.ini first) and create your menu again. And if you still
  have problems (very unlikely), visit developing forum to report this.


  If you have any other mistakes in menu syntax script will not work.  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:8.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>You
can run applications either by starting </span><span style='font-size:13.0pt;
font-family:"Courier New"'>.exe</span><span style='font-family:"Verdana Ref"'>
or </span><span style='font-size:13.0pt;font-family:"Courier New"'>.ahk</span><span
style='font-family:"Verdana Ref"'>  files. If you want Total Commander
executable </span></p>


- Win9x systems are not and will not be tested. If it works, cool, but if not,
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>and
  don't ask anything.  
its configuration file wincmd.ini to be automaticaly recognised start
application from within TC.</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>To
run </span><span style='font-size:13.0pt;font-family:"Courier New"'>.ahk</span><span
style='font-family:"Verdana Ref"'>, you must have AutoHotKey installed. </span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Make
sure you have something in the TC directory menu before start using the
program.</span></p>


------
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
TO DO
------


- Settings to include desired non-standard windows, by your choice.
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
  Like Office dialogs, Start->Run, console, and basicly anything you would like to paste
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
  the path into.


- History list on another hotkey, or like another special menu item.
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></b></p>


- HotKey to enable/disable the script.
<div style='border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
margin-left:41.6pt;margin-right:222.0pt'>


- Settings in ini file for portability.
<p class=MsoNormal style='margin-left:3.2pt;text-indent:-3.2pt;border:none;
padding:0cm'><b><span style='font-size:14.0pt;font-family:"Verdana Ref"'>TC
FAVMENU  FEATURES</span></b></p>


- Editor so to avoid TC's own slow editor.
</div>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:8.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>


-----
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
ABOUT
Full TC favorites. Possible items in the menu are:</span></p>
-----


Created by Miodrag Milic
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
in AutoHotKey <www.autohotkey.com>
using Windows XP Pro


<table class=MsoTableGrid border=1 cellspacing=3 cellpadding=0
style='margin-left:50.55pt;border:none;border-bottom:solid windowtext 1.0pt'>
<tr style='height:22.9pt'>
  <td width=161 style='width:120.7pt;border:none;background:#FFCC00;padding:
  0cm 5.4pt 0cm 5.4pt;height:22.9pt'>
  <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Arial'>MENU
  TYPE</span></b></p>
  </td>
  <td width=195 style='width:145.9pt;border:none;background:#FFCC00;padding:
  0cm 5.4pt 0cm 5.4pt;height:22.9pt'>
  <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Arial'>COMMAND</span></b></p>
  </td>
  <td width=524 style='width:392.85pt;border:none;background:#FFCC00;
  padding:0cm 5.4pt 0cm 5.4pt;height:22.9pt'>
  <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Arial'>EXAMPLES</span></b></p>
  </td>
</tr>
<tr style='height:22.9pt'>
  <td width=161 style='width:120.7pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>PATH</span></p>
  </td>
  <td width=195 style='width:145.9pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-family:"Courier New"'>cd path</span></p>
  </td>
  <td width=524 style='width:392.85pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>cd
  c:\program files    cd %SYSTEMROOT%\System32</span></p>
  </td>
</tr>
<tr style='height:22.9pt'>
  <td width=161 style='width:120.7pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>TC PLUGIN</span></p>
  </td>
  <td width=195 style='width:145.9pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-family:"Courier New"'>cd \\\plugin</span></p>
  </td>
  <td width=524 style='width:392.85pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>cd
  \\\Uninstaller      cd \\\Registry\HKEY_CURRENT_USER\Sofware</span></p>
  </td>
</tr>
<tr style='height:22.9pt'>
  <td width=161 style='width:120.7pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>PSEUDOVARIABLE</span></p>
  </td>
  <td width=195 style='width:145.9pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-family:"Courier New"'>cd %$var%\path</span></p>
  </td>
  <td width=524 style='width:392.85pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:22.9pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>cd
  %$DESKTOP%          cd %$PERSONAL%\My Pictures</span></p>
  </td>
</tr>
<tr style='height:58.45pt'>
  <td width=161 style='width:120.7pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:58.45pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>EXECUTABLE</span></p>
  </td>
  <td width=195 style='width:145.9pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:58.45pt'>
  <p class=MsoNormal><span style='font-family:"Courier New"'>path_to_exectable</span></p>
  </td>
  <td width=524 style='width:392.85pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;
  height:58.45pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>%$WINDOWS%\System32\Notepad.exe 
  </span></p>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>c:\boot.ini
             </span><i><span style='font-size:10.0pt;font-family:Arial'>will be
  resolved via associations</span></i></p>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>%w%%s%%n%    
           </span><i><span style='font-size:10.0pt;font-family:Arial'>where
  w=C:\windows, s=\system32, n=notepad.exe</span></i></p>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>%UTILS%\Edit
  Plus\Editplus.exe &quot;c:\boot.ini&quot; &quot;c:\1.txt&quot;</span></p>
  </td>
</tr>
</table>


e-mail: miodrag.milic@gmail.com
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
homepage: code.r-moth.com   | www.r-moth.com  | r-moth.deviantart.com
 
</pre>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
'''Go Back: '''[[AutoHotkey: TC Fav Menu]]
 
<p class=MsoNormal style='margin-left:40.5pt'><span style='font-family:"Verdana Ref"'>-
<b>Enter (on menu item)</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
   If</span></p>
 
<p class=MsoNormal style='margin-left:90.0pt;text-indent:-18.0pt'><span
style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style='font-family:"Verdana Ref"'>Open/Save dialog is
active (commctrl32.dll dialogs)</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt;text-indent:36.0pt'><span
style='font-family:"Verdana Ref"'>     </span></p>
 
<table class=MsoTableGrid border=0 cellspacing=0 cellpadding=0
style='margin-left:104.15pt;border-collapse:collapse'>
<tr style='height:20.4pt'>
  <td width=242 style='width:181.4pt;background:#F3F3F3;padding:0cm 5.4pt 0cm 5.4pt;
  height:20.4pt'>
  <p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Verdana Ref"'>SELECTION</span></b></p>
  </td>
  <td width=231 style='width:173.45pt;background:#F3F3F3;padding:0cm 5.4pt 0cm 5.4pt;
  height:20.4pt'>
  <p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Verdana Ref"'>ACTION</span></b></p>
  </td>
</tr>
<tr style='height:16.55pt'>
  <td width=242 style='width:181.4pt;padding:0cm 5.4pt 0cm 5.4pt;height:16.55pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>PATH</span></p>
  </td>
  <td width=231 style='width:173.45pt;padding:0cm 5.4pt 0cm 5.4pt;height:16.55pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>change
  the path in the dialog</span></p>
  </td>
</tr>
<tr style='height:19.05pt'>
  <td width=242 style='width:181.4pt;padding:0cm 5.4pt 0cm 5.4pt;height:19.05pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>TC
  PLUGIN</span></p>
  </td>
  <td width=231 style='width:173.45pt;padding:0cm 5.4pt 0cm 5.4pt;height:19.05pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>open
  or activate TC</span></p>
  </td>
</tr>
<tr style='height:20.4pt'>
  <td width=242 style='width:181.4pt;padding:0cm 5.4pt 0cm 5.4pt;height:20.4pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>EXECUTABLE
  </span></p>
  </td>
  <td width=231 style='width:173.45pt;padding:0cm 5.4pt 0cm 5.4pt;height:20.4pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana Ref"'>run
  the application</span></p>
  </td>
</tr>
</table>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:90.0pt;text-indent:-18.0pt'><span
style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style='font-family:"Verdana Ref"'>Any other window is activate:
</span><span style='font-size:10.0pt;font-family:"Verdana Ref"'>open or activate
TC</span></p>
 
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
</span><b><span style='font-family:Verdana'>CTRL + Enter (on menu item)</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Open Properties dialog with selected item. Move around with buttons. You can
change </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
title, command and set icon.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Press Save on every individual item to save changes. It is much faster to use
this dialog</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
then TC's editor for single item change.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>SHIFT + Enter (on menu item)</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Open selected item in new TC tab</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Setup dialog</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
On first run, Setup dialog will search for TC location in the registry and if
not found it will</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
also try  </span><span style='font-size:13.0pt;font-family:"Courier New"'>%COMMANDER_PATH%
</span><span style='font-family:"Verdana Ref"'> environment variable. If not
present in the system, this variable</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
will be instantiate by TC privately. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
If setup can not find Total Commander, specify full paths to </span><span
style='font-size:13.0pt;font-family:"Courier New"'>totalcmd.exe</span><span
style='font-family:"Verdana Ref"'> and </span><span style='font-size:13.0pt;
font-family:"Courier New"'>wincmd.ini</span><span style='font-family:"Verdana Ref"'>
yourself. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
In case you want to start TC with parameters, create link to the totalcmd.exe
and edit link info as you</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
desire. After that specify the path to the </span><span style='font-size:13.0pt;
font-family:"Courier New"'>totalcmd.lnk</span><span style='font-family:"Verdana Ref"'>
instead totalcmd.exe.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
You can set hotkey here and menu position. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Later, you can call this Setup dialog via the tray menu. You can delete setup
and force</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
autodetection, with &quot;Delete Config&quot; item.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>          -<b>
Current directories</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>  If
TC is open, current left &amp; right folders will be displayed at first 2
positions.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
If they are the same only 1 will be visible.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
If menu is called with TC active, this will not be displayed.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Automatic Refresh</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>  Menu
is refreshed on every call, so if you update your favorites in TC changes will
be </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
seen immediately.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Office Dialogs</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Solid support to Office 2003 Open/Save dialogs (it doesn't work if ListView is
focused)</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Make sure your carret is in the edit box  </span><span style='font-size:13.0pt;
font-family:"Courier New"'>File Name</span><span style='font-family:"Verdana Ref"'>
 and you will not have any problems.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Icons</b> </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
You can specify icon to display beside menu item. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Icons are 12x12 with first pixel holding transparent color.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Pseudovariables</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Similar to environement variables, but has slightly different syntax </span><span
style='font-family:"Courier New"'>(%<u>$</u>var%,</span><span style='font-family:
"Verdana Ref"'> instead </span><span style='font-family:"Courier New"'>%var%).</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
</span><span style='font-family:Verdana'>Currently supported:</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:Verdana'>        </span></p>
 
<table class=MsoTableGrid border=0 cellspacing=0 cellpadding=0
style='margin-left:44.6pt;border-collapse:collapse'>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>APPDATA</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>Application
  Data, new for NT4</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>COMMON_APPDATA</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>All
  Users\Application Data</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>COMMON_DOCUMENTS</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>All
  Users\Documents</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>DESKTOP</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Documents
  and Settings\username\Desktop</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>FONTS</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Windows\Fonts</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>LOCAL_APPDATA</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>Non
  roaming, user\Local Settings\Application Data</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>MYMUSIC</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>My
  Music folder</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>MYPICTURES</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>My
  Pictures</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>PERSONAL</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>My
  Documents</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>PROGRAM_FILES_COMMON</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Program
  Files\Common </span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>PROGRAM_FILES</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Program
  Files</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>PROGRAMS</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Documents
  and Settings\username\Start Menu\Programs</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>RESOURCES</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>%windir%\Resources\,
  For theme and other windows resources.</span></p>
  </td>
</tr>
<tr style='height:3.45pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:3.45pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>STARTMENU</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:3.45pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Documents
  and Settings\username\Start Menu</span></p>
  </td>
</tr>
<tr style='height:5.75pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:5.75pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>STARTUP</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:5.75pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Documents
  and Settings\username\Start Menu\Programs\Startup.</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>SYSTEM</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>System
  Directory (usualy C:\WINDOWS\System32)</span></p>
  </td>
</tr>
<tr style='height:14.0pt'>
  <td width=253 style='width:190.05pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>WINDOWS</span></p>
  </td>
  <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:14.0pt'>
  <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>Windows
  Directory (usualy c:\Windows)</span></p>
  </td>
</tr>
</table>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:Verdana'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:Verdana'>NOTE:
Not all above pseudovariables are currently supported in TC but they may be in
future versions.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<div style='border:solid windowtext 1.0pt;padding:1.0pt 19.0pt 1.0pt 4.0pt;
margin-left:36.0pt;margin-right:222.0pt'>
 
<p class=MsoNormal style='border:none;padding:0cm'><b><span style='font-size:
14.0pt;font-family:"Verdana Ref"'>FAVMENU EDITOR FEATURES</span></b></p>
 
</div>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>  </span></b><span style='font-family:"Verdana Ref"'>FavMenu
Editor doesn’t have setup on its own. The only thing it requires to work is the
path to the ini file containing the menu </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
(wincmd.ini or any other ini containing </span><span style='font-size:13.0pt;
font-family:"Courier New"'>[DirMenu] ).</span><span style='font-family:"Verdana Ref"'>If
you run it along with TC FavMenu, use its Setup dialog to set this ini. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Configuration entery for the ini file is located in </span><span
style='font-size:13.0pt;font-family:"Courier New"'>_Config.ini </span><span
style='font-family:"Verdana Ref"'>under </span><span style='font-size:13.0pt;
font-family:"Courier New"'>[TCFavMenu]</span><span style='font-family:"Courier New"'>
</span><span style='font-family:"Verdana Ref"'>section. The key holding the
info is</span><span style='font-size:13.0pt;font-family:"Courier New"'> tcIni</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.0pt;
font-family:"Courier New"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.0pt;
font-family:"Courier New"'> </span><span style='font-family:"Verdana Ref"'>If
you want to edit single item the fastest way is to use itegrated Properties
dialog (CTRL ENTER).</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Since Editor is executable it can be added to the menu itself. Put it at the
end of the menu and set its title to “Configure…” to mimic</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
TCs internal menu.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>-
SHIFT Up/Down </span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'> 
</span></b><span style='font-family:"Verdana Ref"'>Move an item, or entire submenu.
</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
While moving, when you encounter submenu, if it is expanded, current item will
become its child or will be removed from it.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Otherwise, item will jump over the submenu.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>F2</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Change the title of an item. Do not use – as a first title character since it
is reserved for internal usage.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Use <b>&amp;</b> to set a shortcut and <b>–</b> to specify separator. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>-
ENTER</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Press ENTER after changing the Command or Icon field to save changes. Selected
item will</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
turn <b>bold</b> and *** will appear in the dialog to inform you that the item
has been changed, but it is not yet</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
saved to the disk.  Everything will be saved into the menu configuration after
you press SAVE button.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Button will be grayed while save is in progress.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>INSERT | SHIFT INSERT</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Press insert to add new menu item after currently selected. Hold shift to
insert new submenu.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
When the last item of the submenu is deleted, submenu will be turned to simple menu
item.  </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>DELETE</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Remove the item from the menu, or remove complete submenu</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Browse buttons</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
&gt;&gt; buttons can be used to speed up editing.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
If the first word in the command field is “cd”,<i> browse for directory</i>
dialog will be displayed, otherwise,<i> browse for file.</i></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:"Verdana Ref"'> </span></i><span
style='font-family:"Verdana Ref"'> You must still press ENTER to save changes.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>OPTIONS</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'> 
</span></b><span style='font-family:"Verdana Ref"'>Edit  </span><span
style='font-size:13.0pt;font-family:"Courier New"'>_Config.ini </span><span
style='font-family:"Verdana Ref"'> file to set miscelineous options for the
FavMenu Editor.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>          </span><span
style='font-size:13.0pt;font-family:"Courier New"'>Backup</span><span
style='font-family:"Verdana Ref"'>                                    Create
backup of wincmd.ini before changing it</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>          </span><span
style='font-size:13.0pt;font-family:"Courier New"'>ColapseOnMove</span><span
style='font-family:"Verdana Ref"'>                      Close submenus while
moving out of them with shift up/down</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt;text-indent:36.0pt'><span
style='font-size:13.0pt;font-family:"Courier New"'>ExpandOnStartup</span><span
style='font-family:"Verdana Ref"'>                  Expand all menus on
start-up</span></p>
 
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Enable option by seting it to 1 under the </span><span style='font-size:13.0pt;
font-family:"Courier New"'>[EDITOR]</span><span style='font-family:"Verdana Ref"'>
section of _Config.ini file. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Delete it or set it to 0 do disable it.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>NOTES </span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>You
may encounter some problems related to Total Commander interaction with the
menu. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>It
is the best to avoid using TC editor at all, since FavMenu Editor is much
faster and functional</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>plus
TC editor will delete menu information about your icons if you set them. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>You
can use “Add current dir” TC option. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
 If you have empty sub menus, script will not work.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
 If you have 2 submenu items with the same name, in order to see the second
one, you must add</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 pseudospace (ALT 0160) at the end of the title of the second one. For all
subsequent items with </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 the same name add additional pseudospace.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
 Menu is collected from the wincmd.ini [DirMenu] section. Format of this menu
is:</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>           
</span><span style='font-family:"Courier New"'>menuN =  title | - | -title | --
</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>           
</span><span style='font-family:"Courier New"'>cmdN  =  cd
&lt;path|plugin|pseudovarialbe&gt; | executable</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>           
</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 While building the menu, section will be iterated sequentially up to the first
menuX item </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 that doesn't exist. If, for some reason, your TC menu has &quot;hole&quot; in
a sequence, script</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>   will
rise errors or will not display the complete menu. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 This menu, for instance will not work:</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>          </span><span
style='font-family:"Courier New"'>  [DirMenu]</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New"'>      
menu1=item1</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New"'>      
menu2=item2</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New"'>      
menu4=item3</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 To make sure your menu is not messed-up, open TC Favorites configuration and
click OK</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>   button.
TC will rebuild the menu sequentially. If you still have problems, delete</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>   everything
(backup wincmd.ini first) and create your menu again. And if you still</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 have problems (very unlikely), visit developing forum to report this.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 If you have any other mistakes in menu syntax script will not work. </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
 Win9x systems are not and will not be tested. If it works, cool, but if not,  don't
ask for support.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>TO DO</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
style='font-family:"Verdana Ref"'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style='font-family:"Verdana Ref"'>Settings to include
desired non-standard windows, by your choice, like Office dialogs,
Start-&gt;Run, <br>
console, and basicly anything you would like to paste path into </span></p>
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
style='font-family:"Verdana Ref"'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style='font-family:"Verdana Ref"'>HotKey to enable/disable
the script.</span></p>
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
style='font-family:"Verdana Ref"'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style='font-family:"Verdana Ref"'>Larger icons</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
font-family:"Verdana Ref"'>ABOUT</span></b></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Created
by Miodrag Milic </span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>in
AutoHotKey &lt;www.autohotkey.com&gt;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>using
Windows XP Pro</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>e-mail:
        miodrag.milic@gmail.com</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>homepage:
  code.r-moth.com  |  www.r-moth.com   |  r-moth.deviantart.com</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Belgrade</span><span
style='font-family:"Verdana Ref"'>, Jun 2006</span></p>
 
</div>

Revision as of 10:01, 23 June 2006

<title>TC FavMenu 1</title>

<style> </style>


TC FavMenu

FavMenu Editor

                      for Windows XP & 2K

 

 

OVERVIEW

 

TC FavMenu is standard Open/Save dialog enhancer and application launcher.

It uses ini file to store information about your favorite folders and applications.

 

Format of the menu ini file is compatibile with Total Commander file manager directory menu, and was originaly written to

work as addon for this file manager but it can be used without it. All features of TC directory menu are supported, including

plugins and pseudovariables. Furthermore, TC doesn’t need to be started.

 

Menu Editor can be used to create, edit, delete and organise menu items.

This is complete replacement of TCs internal directory menu editor witch adds many new options.

It can be used together with FavMenu or separate.

 

Both programs use the same ini file to store configuration _Config.ini

 

 

INSTALLATION

 

You can run applications either by starting .exe or .ahk  files. If you want Total Commander executable

and its configuration file wincmd.ini to be automaticaly recognised start application from within TC.

To run .ahk, you must have AutoHotKey installed.

Make sure you have something in the TC directory menu before start using the program.

 

 

 

TC FAVMENU  FEATURES

 

 

- Full TC favorites. Possible items in the menu are:

 

MENU TYPE

COMMAND

EXAMPLES

PATH

cd path

cd c:\program files    cd %SYSTEMROOT%\System32

TC PLUGIN

cd \\\plugin

cd \\\Uninstaller      cd \\\Registry\HKEY_CURRENT_USER\Sofware

PSEUDOVARIABLE

cd %$var%\path

cd  %$DESKTOP%          cd %$PERSONAL%\My Pictures

EXECUTABLE

path_to_exectable

%$WINDOWS%\System32\Notepad.exe 

c:\boot.ini            will be resolved via associations

%w%%s%%n%              where w=C:\windows, s=\system32, n=notepad.exe

%UTILS%\Edit Plus\Editplus.exe "c:\boot.ini" "c:\1.txt"

 

 

- Enter (on menu item)

     If

·        Open/Save dialog is active (commctrl32.dll dialogs)

    

SELECTION

ACTION

PATH

change the path in the dialog

TC PLUGIN

open or activate TC

EXECUTABLE

run the application

 

·        Any other window is activate: open or activate TC

 

- CTRL + Enter (on menu item)

  Open Properties dialog with selected item. Move around with buttons. You can change

  title, command and set icon.

  Press Save on every individual item to save changes. It is much faster to use this dialog

  then TC's editor for single item change.

 

- SHIFT + Enter (on menu item)

  Open selected item in new TC tab

 

- Setup dialog

  On first run, Setup dialog will search for TC location in the registry and if not found it will

  also try  %COMMANDER_PATH%  environment variable. If not present in the system, this variable

  will be instantiate by TC privately.

  If setup can not find Total Commander, specify full paths to totalcmd.exe and wincmd.ini yourself.

  In case you want to start TC with parameters, create link to the totalcmd.exe and edit link info as you

  desire. After that specify the path to the totalcmd.lnk instead totalcmd.exe.

 

  You can set hotkey here and menu position.

 

  Later, you can call this Setup dialog via the tray menu. You can delete setup and force

  autodetection, with "Delete Config" item.

 

 

          - Current directories

  If TC is open, current left & right folders will be displayed at first 2 positions.

  If they are the same only 1 will be visible.

  If menu is called with TC active, this will not be displayed.

 

- Automatic Refresh

  Menu is refreshed on every call, so if you update your favorites in TC changes will be

  seen immediately.

 

- Office Dialogs

  Solid support to Office 2003 Open/Save dialogs (it doesn't work if ListView is focused)

  Make sure your carret is in the edit box  File Name  and you will not have any problems.

 

- Icons

  You can specify icon to display beside menu item.

  Icons are 12x12 with first pixel holding transparent color.

 

- Pseudovariables

  Similar to environement variables, but has slightly different syntax (%$var%, instead %var%).

  Currently supported:

       

APPDATA

Application Data, new for NT4

COMMON_APPDATA

All Users\Application Data

COMMON_DOCUMENTS

All Users\Documents

DESKTOP

C:\Documents and Settings\username\Desktop

FONTS

C:\Windows\Fonts

LOCAL_APPDATA

Non roaming, user\Local Settings\Application Data

MYMUSIC

My Music folder

MYPICTURES

My Pictures

PERSONAL

My Documents

PROGRAM_FILES_COMMON

C:\Program Files\Common

PROGRAM_FILES

C:\Program Files

PROGRAMS

C:\Documents and Settings\username\Start Menu\Programs

RESOURCES

%windir%\Resources\, For theme and other windows resources.

STARTMENU

C:\Documents and Settings\username\Start Menu

STARTUP

C:\Documents and Settings\username\Start Menu\Programs\Startup.

SYSTEM

System Directory (usualy C:\WINDOWS\System32)

WINDOWS

Windows Directory (usualy c:\Windows)

 

NOTE: Not all above pseudovariables are currently supported in TC but they may be in future versions.

 

 

FAVMENU EDITOR FEATURES

 

  FavMenu Editor doesn’t have setup on its own. The only thing it requires to work is the path to the ini file containing the menu

  (wincmd.ini or any other ini containing [DirMenu] ).If you run it along with TC FavMenu, use its Setup dialog to set this ini.

  Configuration entery for the ini file is located in _Config.ini under [TCFavMenu] section. The key holding the info is tcIni

 

 If you want to edit single item the fastest way is to use itegrated Properties dialog (CTRL ENTER).

 

  Since Editor is executable it can be added to the menu itself. Put it at the end of the menu and set its title to “Configure…” to mimic

  TCs internal menu.

 

- SHIFT Up/Down

  Move an item, or entire submenu.

  While moving, when you encounter submenu, if it is expanded, current item will become its child or will be removed from it.

  Otherwise, item will jump over the submenu.

 

- F2

  Change the title of an item. Do not use – as a first title character since it is reserved for internal usage.

  Use & to set a shortcut and to specify separator.

 

- ENTER

  Press ENTER after changing the Command or Icon field to save changes. Selected item will

  turn bold and *** will appear in the dialog to inform you that the item has been changed, but it is not yet

  saved to the disk.  Everything will be saved into the menu configuration after you press SAVE button.

  Button will be grayed while save is in progress.

 

- INSERT | SHIFT INSERT

  Press insert to add new menu item after currently selected. Hold shift to insert new submenu.

  When the last item of the submenu is deleted, submenu will be turned to simple menu item. 

 

- DELETE

  Remove the item from the menu, or remove complete submenu

 

- Browse buttons

  >> buttons can be used to speed up editing.

  If the first word in the command field is “cd”, browse for directory dialog will be displayed, otherwise, browse for file.

  You must still press ENTER to save changes.

 

- OPTIONS

  Edit  _Config.ini  file to set miscelineous options for the FavMenu Editor.

 

          Backup                                   Create backup of wincmd.ini before changing it

          ColapseOnMove                      Close submenus while moving out of them with shift up/down

ExpandOnStartup                  Expand all menus on start-up

 

  Enable option by seting it to 1 under the [EDITOR] section of _Config.ini file.

  Delete it or set it to 0 do disable it.

 

 

NOTES

 

You may encounter some problems related to Total Commander interaction with the menu.

It is the best to avoid using TC editor at all, since FavMenu Editor is much faster and functional

plus TC editor will delete menu information about your icons if you set them.

You can use “Add current dir” TC option.

 

-  If you have empty sub menus, script will not work.

 

-  If you have 2 submenu items with the same name, in order to see the second one, you must add

   pseudospace (ALT 0160) at the end of the title of the second one. For all subsequent items with

   the same name add additional pseudospace.

 

-  Menu is collected from the wincmd.ini [DirMenu] section. Format of this menu is:

 

            menuN =  title | - | -title | --

            cmdN  =  cd <path|plugin|pseudovarialbe> | executable

           

   While building the menu, section will be iterated sequentially up to the first menuX item

   that doesn't exist. If, for some reason, your TC menu has "hole" in a sequence, script

   will rise errors or will not display the complete menu.

   This menu, for instance will not work:

 

            [DirMenu]

       menu1=item1

       menu2=item2

       menu4=item3

 

   To make sure your menu is not messed-up, open TC Favorites configuration and click OK

   button. TC will rebuild the menu sequentially. If you still have problems, delete

   everything (backup wincmd.ini first) and create your menu again. And if you still

   have problems (very unlikely), visit developing forum to report this.

 

   If you have any other mistakes in menu syntax script will not work.

 

-  Win9x systems are not and will not be tested. If it works, cool, but if not,  don't ask for support.

 

 

 

TO DO

 

-         Settings to include desired non-standard windows, by your choice, like Office dialogs, Start->Run,
console, and basicly anything you would like to paste path into

-         HotKey to enable/disable the script.

-         Larger icons

 

 

 

 

ABOUT

 

Created by Miodrag Milic

in AutoHotKey <www.autohotkey.com>

using Windows XP Pro

 

 

e-mail:         miodrag.milic@gmail.com

homepage:   code.r-moth.com  |  www.r-moth.com   |  r-moth.deviantart.com

 

Belgrade, Jun 2006