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

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
<div class=Section1>
TC FavMenu 1.0 beta07
for Windows XP & 2K


This is Total Commander utility.  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:20.0pt;
It will make TC favorites available in the system.
font-family:Verdana'>FavMenu</span></p>
It will also make TC Favorites to become Open/Save dialog enhancer (for standard dialogs)


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:18.0pt;
font-family:Verdana'>&amp; Menu Editor</span></p>


------------
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:Verdana'>                      for
INSTALLATION
Windows XP &amp; 2K</span></i></p>
------------
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'>&nbsp;</p>


--------
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
FEATURES
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
--------
- Full TC favorites. Possible items in the menu are:


  TYPE COMMAND
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
  -------------------------------------------------------------------------------------------
font-family:"Verdana Ref"'>OVERVIEW</span></b></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'><span style='font-size:8.0pt;
    %$WINDOWS%\System32\Notepad.exe  (TC doesn't support this pseudovar)
font-family:"Verdana Ref"'>&nbsp;</span></p>
  %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'><span style='font-family:"Verdana Ref"'>FavMenu
      full list.
is Windows OS enhancer and application launcher. It stores information about
your favorite folders and executables and let you quickly use your favorites</span></p>


- Enter (on menu item):
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>within
  If
system dialogs (Open/Save, Browse For Folder, Office2003 dialogs),  Console
    * Open/Save dialog is active (commctrl32.dll dialogs)
(cmd.exe),  Widows Explorer  and  Total Commander.</span></p>
      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-family:"Verdana Ref"'>&nbsp;</span></p>


<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Format
of the menu configuration file is compatibile with the Total Commander file
manager <i>directory menu</i>, and was originaly written to work as addon for
this file manager. All features of the TC directory menu are supported,
including plugins and pseudovariables. Furthermore, TC doesn’t need to be
started.</span></p>


- CTRL + Enter (on menu item):
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
  Open Properties dialog with selected item. Move around with buttons. You can change
  title, command and set icon. Icons are 12x12 with first pixel holding transparent color.
  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"'>Menu
- SHIFT + Enter (on menu item):
Editor can be used to create, edit, delete and organise menu items. This is also
  Open selected item in new TC tab
complete replacement of TC’s internal <i>directory menu  </i>editor witch adds
many new options. 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>


- Setup dialog
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Both
  On first run, Setup dialog will search for TC location in the registry and if not found it will
programs use the same ini file to store configuration, </span><span
  also try %COMMANDER_PATH% environment variable. If TC still can not be found, you will
style='font-size:13.0pt;font-family:"Courier New"'>Config.ini</span><span
  have to specify full paths to totalcmd.exe and wincmd.ini yourself. You can set hotkey
style='font-size:13.0pt;font-family:Verdana'>.</span></p>
  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"'>&nbsp;</span></p>
  autodetection, with "Delete Config" item.


  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'><b><span style='font-size:14.0pt;
  If they are the same only 1 will be visible.
font-family:"Verdana Ref"'>INSTALLATION</span></b></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-size:8.0pt;
  seen immediately.
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. To run </span><span
style='font-size:13.0pt;font-family:"Courier New"'>.ahk</span><span
style='font-family:"Verdana Ref"'>, you must have <a
href="http://www.autohotkey.com/">AutoHotKey</a> installed.</span></p>


-----
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>If
NOTES
you choose to run exe versions you can safely delete *.ahk files and \include
-----
folder.</span></p>


- If you have empty sub menus, script will not work.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</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"'>If
you want Total Commander executable and its configuration file wincmd.ini to be
automaticaly recognised start FavMenu from within TC (not required if you
installed TC normally or you have COMMANDER_PATH environment variable set in
the system). </span></p>


  menuN = <title>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Make
  cmdN = cd <path|plugin|pseudovarialbe>   |  executable
sure you have something in the TC directory menu before start using the program.</span></p>
 
  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"'>&nbsp;</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'><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 21.0pt 1.0pt 4.0pt;
margin-left:41.6pt;margin-right:222.0pt'>


- Win9x systems are not and will not be tested. If it works, cool, but if not,
<p class=MsoNormal style='margin-left:3.2pt;text-indent:-3.2pt;border:none;
  don't ask anything.  
padding:0cm'><b><span style='font-size:14.0pt;font-family:"Verdana Ref"'>FAVMENU 
FEATURES</span></b></p>


</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>
TO DO
------


- Settings to include desired non-standard windows, by your choice.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
  Like Office dialogs, Start->Run, console, and basicly anything you would like to paste
Favmenu supports several types of menu items.  Possible menu items are ( full
  the path into.
TC compatibility):</span></p>


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


- HotKey to enable/disable the script.
<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=169 style='width:126.45pt;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 ITEM
  TYPE</span></b></p>
  </td>
  <td width=187 style='width:140.15pt;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=169 style='width:126.45pt;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=187 style='width:140.15pt;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=169 style='width:126.45pt;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=187 style='width:140.15pt;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=169 style='width:126.45pt;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=187 style='width:140.15pt;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=169 style='width:126.45pt;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=187 style='width:140.15pt;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>


- Settings in ini file for portability.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>


- Editor so to avoid TC's own slow editor.
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>


<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
ABOUT
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, Browse For
Folder or Office2003 dialog  is  active :</span></p>


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


<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 or file</span></p>
  </td>
</tr>
</table>


e-mail: miodrag.milic@gmail.com
<p class=MsoNormal><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:90.0pt;text-indent:-18.0pt'><span
'''Go Back: '''[[AutoHotkey: TC Fav Menu]]
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"'>Console window is active:
               change the current directory if path is selected or execute
application / dos command</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 active:   
         open or activate file manager for folders, launch an executable otherwise.</span></p>
 
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</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:45.0pt'><span style='font-family:"Verdana Ref"'>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 (title will change to notify you that save is complete).  It is much
faster to use this dialog then TC's editor for single item change. </span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
Properties dialog is open you can use Favmenu to change the currently displayed
item by calling the menu and pressing &lt;ENTER&gt;. So favmenu can not be used
until Properties dialog is closed.</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>CTRL + SHIFT + Enter (on menu item)</b></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Send path of the selected item to the active window. </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:45.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 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 will be instantiated by TC privately)  If
setup can not find Total Commander it will use Windows Explorer as file
manager. </span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
Favmenu didn’t find your 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:45.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 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:45.0pt'><span style='font-family:"Verdana Ref"'>You
can use environment variables to specify exe &amp; ini location.</span></p>
 
<p class=MsoNormal style='margin-left:9.0pt;text-indent:36.0pt'><span
style='font-family:"Verdana Ref"'>You can call this Setup dialog via the tray
menu.</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,   Editor  &amp;   “Add current dir”  items</b></span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
Total Ccommander is open, current left &amp; 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.</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><i><span style='font-size:14.0pt'>Add
current dir</span></i><span style='font-family:"Verdana Ref"'> item works NOT
only if TC is active. It is also supported in all system dialogs (except
Office) and in Console. This will surely work for all hard disk folders but you
may have problems with so called virtual folders since many of them don’t have
physical representation on the hard disk. You can’t use Desktop folders for
now, but that may be added in the future.</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><i><span style='font-size:14.0pt'>Configure…</span></i><span
style='font-family:"Verdana Ref"'> item (Editor) can also be set as a last item
in the menu. This method is preferable to set the Editor,  since you will not
have double configuration enteries when using TCs original directory menu,
because this item is not contained in the menu declaration. This also ensures
that this item is always last in the menu.</span></p>
 
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>All
3 special items can be enabled/disabled via Setup dialog.</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:45.0pt'><span style='font-family:"Verdana Ref"'>Menu
is refreshed on every call, so if you update your favorites in TC changes will
be 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:45.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 next to the   </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>Console Support</b></span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
cmd.exe is active window selecting path from FavMenu will change the path in
the command line. If you select executable from the menu, it will be typed on the
command line and executed. This allows console <i>commands</i> and <i>applications</i>
to be added to the FavMenu. </span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>For
instance, you can create menu item: </span><span style='font-size:13.0pt;
font-family:"Courier New"'>dir /b | sort</span><span style='font-family:Verdana'>
</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>Menu
items pointing to console commands (not applications) are NOT compatibile with
Total Commander. If you need to run original TC directory menu, you will not be
able to execute them.</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>If
you want to run executables with long file names in console, you must use
quotes. This is not required for non-console usage.</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>If
you want to edit the line before posting it, you can use CTRL SHIFT ENTER.</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>You
can NOT run console <i>commands</i> from the system, only if console window is
active. It is pretty pointless to run them from the system, since they are executed
in the context of the current command line directory. The above command can be
executed from the system by changing it to: </span><u><span style='font-family:
"Courier New"'>cmd /K</span></u><span style='font-family:"Courier New"'> dir /b
| sort</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Courier New"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:Verdana'>In
Setup-&gt;Integration tab you can set custom command to be executed after the
directory is open. The default is set to </span><span style='font-family:"Courier New"'>dir
/w /oGN</span><span style='font-family:Verdana'> so you are able to see
contents of the folder after you change to it. You can change this to whatever
you like (note that errors here will not be detected). If you want to display
the folder in empty console window you can change this entery to   </span><span
style='font-family:"Courier New"'>cls &amp; dir /w /oGN</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:45.0pt'><span style='font-family:"Verdana Ref"'>You
can specify an icon to display beside menu item. Icons are 12x12 with first
pixel holding transparent color. You have more then 100 icons included in the
package for you private use. Use relative path names when setting icons if you
want them to be portable.</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"'>-
<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:20.65pt'>
  <td width=253 style='width:190.05pt;background:silver;padding:0cm 5.4pt 0cm 5.4pt;
  height:20.65pt'>
  <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana'>PSEUDOVARIABLE</span></b></p>
  </td>
  <td width=479 style='width:359.35pt;background:silver;padding:0cm 5.4pt 0cm 5.4pt;
  height:20.65pt'>
  <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana'>TYPICAL
  LOCATION</span></b></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"'>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</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'>
  &amp;lt;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'>TC
NOTE: Not all above pseudovariables are currently supported but they may be in the
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"'>MENU 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'><span style='font-family:"Verdana Ref"'>Menu
Editor is separate application that can be used to edit &amp; organise the
menu. If you already have Config.ini created by FavMenu it will use existing
configuration. If you don’t use FavMenu, Menu Editor will try to find
wincmd.ini or ask you on failure.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.0pt;
font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>If
you want to edit single item the fastest way is to use FavMenu’s 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"'>Editor
can be added to the end of the Favmenu menu via its Setup dialog.</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:45.0pt'><span style='font-family:"Verdana Ref"'>Move
an item, or entire submenu. </span></p>
 
<p class=MsoNormal style='margin-left:45.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:45.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:45.0pt'><span style='font-family:"Verdana Ref"'>Change
the title of an item. 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='text-indent:36.0pt'><b><span style='font-family:"Verdana Ref"'>-
ENTER</span></b></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>This
key will redirect you to the next editable field for current item.</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>INSERT | SHIFT INSERT</b></span></p>
 
<p class=MsoNormal style='margin-left:45.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:45.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='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>DELETE</b></span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Remove
the item or 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='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>Browse buttons</b></span></p>
 
<p class=MsoNormal style='margin-left:45.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:45.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>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>Settings</b></span></p>
 
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
settings tab in Menu Editor is hidden, use CTRL TAB to select it. You can
change the look and behavior of the editor here.</span></p>
 
<p class=MsoNormal><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"'>&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"'>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 without any
problems. </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"'>&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:49.7pt;text-indent:-13.7pt'><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 pseudospace (ALT 0160) at
the end of the title of the second one. For all subsequent items with 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:48.3pt'><span style='font-family:"Verdana Ref"'>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 &quot;hole&quot;
in a sequence, script will rise errors or will not display the complete menu. </span></p>
 
<p class=MsoNormal style='margin-left:48.3pt'><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:48.3pt'><span style='font-family:"Verdana Ref"'>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. </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"'>- 
You can setup <u>Win</u> key shortcuts by manualy editing <i>Config.ini </i>:</span></p>
 
<p class=MsoNormal style='margin-left:36.0pt;text-indent:36.0pt'><span
style='font-family:"Verdana Ref"'>Edit <i>tcKey</i> value in <i>TCFavMenu</i>
section. U can </span><span style='font-family:Verdana'>set</span><span
style='font-family:"Courier New"'>  </span><span style='font-size:13.0pt;
font-family:"Courier New"'>Lwin  or  Rwin  or  #letter.</span><span
style='font-family:"Courier New"'> </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
<a href="http://www.autohotkey.com/">AutoHotKey</a> &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:
        <a href="mailto:miodrag.milic@gmail.com">miodrag.milic@gmail.com</a></span></p>
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>homepage:
  <a href="http://code.r-moth.com/">code.r-moth.com</a>  |  <a
href="Utils/_Scripts/autohotkey/TC/TcFavMenu/Utils/_Scripts/autohotkey/TC/TcFavMenu/www.r-moth.com">www.r-moth.com</a>  
|  <a href="http://r-moth.deviantart.com/">r-moth.deviantart.com</a></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 14:21, 5 September 2006

FavMenu

& Menu Editor

                      for Windows XP & 2K

 

 

OVERVIEW

 

FavMenu is Windows OS enhancer and application launcher. It stores information about your favorite folders and executables and let you quickly use your favorites

within system dialogs (Open/Save, Browse For Folder, Office2003 dialogs),  Console (cmd.exe),  Widows Explorer  and  Total Commander.

 

Format of the menu configuration file is compatibile with the Total Commander file manager directory menu, and was originaly written to work as addon for this file manager. All features of the 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 also complete replacement of TC’s 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. To run .ahk, you must have <a href="http://www.autohotkey.com/">AutoHotKey</a> installed.

If you choose to run exe versions you can safely delete *.ahk files and \include folder.

 

If you want Total Commander executable and its configuration file wincmd.ini to be automaticaly recognised start FavMenu from within TC (not required if you installed TC normally or you have COMMANDER_PATH environment variable set in the system).

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

 

 

FAVMENU  FEATURES

 

 

- Favmenu supports several types of menu items.  Possible menu items are ( full TC compatibility):

 

MENU ITEM 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, Browse For Folder or Office2003 dialog  is  active :

    

SELECTION

ACTION

PATH

change the path in the dialog

TC PLUGIN

open or activate TC

EXECUTABLE

run the application or file

 

·        Console window is active:                change the current directory if path is selected or execute application / dos command

·        Any other window is active:             open or activate file manager for folders, launch an executable otherwise.

 

 

- 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 (title will change to notify you that save is complete).  It is much faster to use this dialog then TC's editor for single item change.

 

If Properties dialog is open you can use Favmenu to change the currently displayed item by calling the menu and pressing <ENTER>. So favmenu can not be used until Properties dialog is closed.

 

- SHIFT + Enter (on menu item)

  Open selected item in new TC tab

 

- CTRL + SHIFT + Enter (on menu item)

  Send path of the selected item to the active window.

 

- 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 instantiated by TC privately)  If setup can not find Total Commander it will use Windows Explorer as file manager.

 

If Favmenu didn’t find your 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 use environment variables to specify exe & ini location.

You can call this Setup dialog via the tray menu.

 

          - Current directories,   Editor  &   “Add current dir”  items

If Total Ccommander 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.

 

Add current dir item works NOT only if TC is active. It is also supported in all system dialogs (except Office) and in Console. This will surely work for all hard disk folders but you may have problems with so called virtual folders since many of them don’t have physical representation on the hard disk. You can’t use Desktop folders for now, but that may be added in the future.

 

Configure… item (Editor) can also be set as a last item in the menu. This method is preferable to set the Editor,  since you will not have double configuration enteries when using TCs original directory menu, because this item is not contained in the menu declaration. This also ensures that this item is always last in the menu.

 

All 3 special items can be enabled/disabled via Setup dialog.

 

- 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 next to the   File Name  and you will not have any problems.

 

- Console Support

If cmd.exe is active window selecting path from FavMenu will change the path in the command line. If you select executable from the menu, it will be typed on the command line and executed. This allows console commands and applications to be added to the FavMenu.

For instance, you can create menu item: dir /b | sort

Menu items pointing to console commands (not applications) are NOT compatibile with Total Commander. If you need to run original TC directory menu, you will not be able to execute them.

 

If you want to run executables with long file names in console, you must use quotes. This is not required for non-console usage.

If you want to edit the line before posting it, you can use CTRL SHIFT ENTER.

 

You can NOT run console commands from the system, only if console window is active. It is pretty pointless to run them from the system, since they are executed in the context of the current command line directory. The above command can be executed from the system by changing it to: cmd /K dir /b | sort

 

In Setup->Integration tab you can set custom command to be executed after the directory is open. The default is set to dir /w /oGN so you are able to see contents of the folder after you change to it. You can change this to whatever you like (note that errors here will not be detected). If you want to display the folder in empty console window you can change this entery to   cls & dir /w /oGN

 

- Icons

You can specify an icon to display beside menu item. Icons are 12x12 with first pixel holding transparent color. You have more then 100 icons included in the package for you private use. Use relative path names when setting icons if you want them to be portable.

 

- Pseudovariables

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

  Currently supported:

       

PSEUDOVARIABLE

TYPICAL LOCATION

APPDATA

Application Data

COMMON_APPDATA

All Users\Application Data

&lt;p class=MsoNormal>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)

 

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

 

 

MENU EDITOR FEATURES

 

Menu Editor is separate application that can be used to edit & organise the menu. If you already have Config.ini created by FavMenu it will use existing configuration. If you don’t use FavMenu, Menu Editor will try to find wincmd.ini or ask you on failure.

 

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

 

Editor can be added to the end of the Favmenu menu via its Setup dialog.

 

- 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. Use & to set a shortcut and to specify separator.

 

- ENTER

This key will redirect you to the next editable field for current item.

 

- 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 or 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.

 

- Settings

If settings tab in Menu Editor is hidden, use CTRL TAB to select it. You can change the look and behavior of the editor here.

 

 

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 without any problems.

 

 

-  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.

 

-  You can setup Win key shortcuts by manualy editing Config.ini :

Edit tcKey value in TCFavMenu section. U can set  Lwin  or  Rwin  or  #letter.


ABOUT

 

Created by Miodrag Milic

in <a href="http://www.autohotkey.com/">AutoHotKey</a> <www.autohotkey.com>

using Windows XP Pro

 

 

e-mail:         <a href="mailto:miodrag.milic@gmail.com">miodrag.milic@gmail.com</a>

homepage:   <a href="http://code.r-moth.com/">code.r-moth.com</a>  |  <a href="Utils/_Scripts/autohotkey/TC/TcFavMenu/Utils/_Scripts/autohotkey/TC/TcFavMenu/www.r-moth.com">www.r-moth.com</a>   |  <a href="http://r-moth.deviantart.com/">r-moth.deviantart.com</a>

 

Belgrade, Jun 2006