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

From TotalcmdWiki
Jump to: navigation, search
Line 4: Line 4:
 
font-family:Verdana'>TC FavMenu </span></p>
 
font-family:Verdana'>TC FavMenu </span></p>
  
<p class=MsoNormal style='margin-left:38.5pt'><span style='font-size:18.0pt;
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:18.0pt;
font-family:Verdana'>FavMenu Editor</span></p>
+
font-family:Verdana'>&amp; Menu Editor</span></p>
  
 
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:Verdana'>                      for
 
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:Verdana'>                      for
Line 22: Line 22:
  
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>TC
 
<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>
+
FavMenu is standard Open/Save dialog enhancer and application launcher. It uses
 
+
the ini file to store information about your favorite folders and applications
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>It
+
and it is designed so to be portable.</span></p>
uses ini file to store information about your favorite folders and
 
applications.</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"'>Format
 
<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
+
of the menu ini file is compatibile with the Total Commander file manager <i>directory
menu</i>, and was originaly written to </span></p>
+
menu</i>, and was originaly written to work as addon for this file manager but
 
+
it can be used without it (with some options disabled). All features of the TC
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>work
+
directory menu are supported, including plugins and pseudovariables.
as addon for this file manager but it can be used without it. All features of
+
Furthermore, TC doesn’t need to be started. </span></p>
TC directory menu are supported, including </span></p>
 
 
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>plugins
 
and pseudovariables. Furthermore, TC doesn’t need to be started. </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"'>Menu
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Menu
Editor can be used to create, edit, delete and organise menu items.</span></p>
+
Editor can be used to create, edit, delete and organise menu items. This is complete
 
+
replacement of TC’s internal <i>directory menu </i>editor witch adds many new
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>This
+
options. It can be used together with FavMenu or as separate application.</span></p>
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>
 
<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"'>Both
 
<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
+
programs use the same ini file to store configuration, </span><span
style='font-size:13.0pt;font-family:"Courier New"'>_Config.ini</span></p>
+
style='font-size:13.0pt;font-family:"Courier New"'>Config.ini</span><span
 +
style='font-size:13.0pt;font-family:Verdana'>.</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>
Line 74: Line 64:
 
or </span><span style='font-size:13.0pt;font-family:"Courier New"'>.ahk</span><span
 
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
 
style='font-family:"Verdana Ref"'>  files. If you want Total Commander
executable </span></p>
+
executable and its configuration file wincmd.ini to be automaticaly recognised
 
+
start application from within TC. To run </span><span style='font-size:13.0pt;
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>and
+
font-family:"Courier New"'>.ahk</span><span style='font-family:"Verdana Ref"'>,
its configuration file wincmd.ini to be automaticaly recognised start
+
you must have <a href="http://www.autohotkey.com/">AutoHotKey</a> installed. Make
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
 
sure you have something in the TC directory menu before start using the
 
program.</span></p>
 
program.</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;
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
Line 268: Line 249:
 
style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
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><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
+
</span><span style='font-size:10.0pt;font-family:"Verdana Ref"'>open or
TC</span></p>
+
activate TC</span></p>
  
 
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
Line 276: Line 257:
 
</span><b><span style='font-family:Verdana'>CTRL + Enter (on menu item)</span></b></p>
 
</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"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Open
Open Properties dialog with selected item. Move around with buttons. You can
+
Properties dialog with selected item. Move around with buttons. You can change
change </span></p>
+
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
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
faster to use this dialog then TC's editor for single item change. </span></p>
title, command and set icon.</span></p>
 
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
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"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
then TC's editor for single item change.</span></p>
+
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"'>&nbsp;</span></p>
Line 303: Line 283:
 
<b>Setup dialog</b></span></p>
 
<b>Setup dialog</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>On
On first run, Setup dialog will search for TC location in the registry and if
+
first run, Setup dialog will search for TC location in the registry and if not
not found it will</span></p>
+
found it will also try  </span><span style='font-size:13.0pt;font-family:"Courier New"'>%COMMANDER_PATH%
 
 
<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
 
</span><span style='font-family:"Verdana Ref"'> environment variable. If not
present in the system, this variable</span></p>
+
present in the aystem, this variable  will be instantiate by TC privately.  If
 
+
setup can not find Total Commander, specify full paths to </span><span
<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-size:13.0pt;font-family:"Courier New"'>totalcmd.exe</span><span
 
style='font-family:"Verdana Ref"'> and </span><span style='font-size:13.0pt;
 
style='font-family:"Verdana Ref"'> and </span><span style='font-size:13.0pt;
Line 322: Line 294:
 
yourself. </span></p>
 
yourself. </span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>In
In case you want to start TC with parameters, create link to the totalcmd.exe
+
case you want to start TC with parameters, create link to the totalcmd.exe and
and edit link info as you</span></p>
+
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
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
style='font-family:"Verdana Ref"'> instead totalcmd.exe.</span></p>
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"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:9.0pt;text-indent:36.0pt'><span
You can set hotkey here and menu position. </span></p>
+
style='font-family:"Verdana Ref"'>Later, 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 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"'> 
+
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>          -<b> Current
Later, you can call this Setup dialog via the tray menu. You can delete setup
+
directories,   Editor  &amp;   “Add current dir”  items</b></span></p>
and force</span></p>
 
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
autodetection, with &quot;Delete Config&quot; item.</span></p>
+
TC 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: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"'>&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:45.0pt'><i><span style='font-family:"Verdana Ref"'>Add
 +
current dir</span></i><span style='font-family:"Verdana Ref"'> item works only
 +
when TC is active and has the same meaning as in TC.</span></p>
  
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>          -<b>
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
Current directories</b></span></p>
 
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>  If
+
<p class=MsoNormal style='margin-left:45.0pt'><i><span style='font-family:"Verdana Ref"'>Configure…</span></i><span
TC is open, current left &amp; right folders will be displayed at first 2
+
style='font-family:"Verdana Ref"'> item (Editor) can also be set as a last item
positions.</span></p>
+
in the menu. This method is preferable to set the Editor,  since you will not
 +
have double configuration enteries in the Favmenu, because this item is not  contained
 +
in  the menu declaration.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
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"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>All
If menu is called with TC active, this will not be displayed.</span></p>
+
3 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"'>&nbsp;</span></p>
Line 367: Line 340:
 
<b>Automatic Refresh</b></span></p>
 
<b>Automatic Refresh</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>  Menu
+
<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
 
is refreshed on every call, so if you update your favorites in TC changes will
be </span></p>
+
be  seen immediately.</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"'>&nbsp;</span></p>
Line 379: Line 349:
 
<b>Office Dialogs</b></span></p>
 
<b>Office Dialogs</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Solid
Solid support to Office 2003 Open/Save dialogs (it doesn't work if ListView is
+
support to Office 2003 Open/Save dialogs (it doesn't work if ListView is
 
focused)</span></p>
 
focused)</span></p>
  
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
 
<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;
+
Make sure your carret is in the edit box next to the   </span><span
font-family:"Courier New"'>File Name</span><span style='font-family:"Verdana Ref"'>
+
style='font-size:13.0pt;font-family:"Courier New"'>File Name</span><span
 and you will not have any problems.</span></p>
+
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"'>&nbsp;</span></p>
Line 393: Line 363:
 
<b>Icons</b> </span></p>
 
<b>Icons</b> </span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>You
You can specify icon to display beside menu item. </span></p>
+
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.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
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"'>-
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
Line 537: Line 506:
 
   </td>
 
   </td>
 
   <td width=479 style='width:359.35pt;padding:0cm 5.4pt 0cm 5.4pt;height:3.45pt'>
 
   <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'&gt;C:\Documents
+
   <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>C:\Documents
 
   and Settings\username\Start Menu</span></p>
 
   and Settings\username\Start Menu</span></p>
 
   </td>
 
   </td>
Line 586: Line 555:
  
 
<p class=MsoNormal style='border:none;padding:0cm'><b><span style='font-size:
 
<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>
+
14.0pt;font-family:"Verdana Ref"'>MENU EDITOR FEATURES</span></b></p>
  
 
</div>
 
</div>
Line 593: Line 562:
 
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
 
font-family:"Verdana Ref"'>&nbsp;</span></b></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Menu
font-family:"Verdana Ref"'>  </span></b><span style='font-family:"Verdana Ref"'>FavMenu
+
Editor is separate application that can be used to edit &amp; organise the
Editor doesn’t have setup on its own. The only thing it requires to work is the
+
menu. If you already have Config.ini created by the use of the FavMenu it will
path to the ini file containing the menu </span></p>
+
use existing configuration. If you don’t use TC 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-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;
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.0pt;
font-family:"Courier New"'>&nbsp;</span></p>
+
font-family:"Verdana Ref"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:13.0pt;
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>If
font-family:"Courier New"'> </span><span style='font-family:"Verdana Ref"'>If
+
you want to edit single item the fastest way is to use FavMenu’s itegrated
you want to edit single item the fastest way is to use itegrated Properties
+
Properties dialog (CTRL ENTER).</span></p>
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"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>Editor
Since Editor is executable it can be added to the menu itself. Put it at the
+
can be added to the end of the Favmenu menu via its Setup dialog.</span></p>
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'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
Line 633: Line 585:
 
SHIFT Up/Down </span></b></p>
 
SHIFT Up/Down </span></b></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Move
</span></b><span style='font-family:"Verdana Ref"'>Move an item, or entire submenu.
+
an item, or entire submenu. </span></p>
</span></p>
 
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>While
While moving, when you encounter submenu, if it is expanded, current item will
+
moving, when you encounter submenu, if it is expanded, current item will become
become its child or will be removed from it.</span></p>
+
its child or will be removed from it.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Otherwise,
Otherwise, item will jump over the submenu.</span></p>
+
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"'>&nbsp;</span></p>
Line 649: Line 600:
 
<b>F2</b></span></p>
 
<b>F2</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Change
Change the title of an item. Do not use – as a first title character since it
+
the title of an item. Use <b>&amp;</b> to set a shortcut and <b>–</b> to
is reserved for internal usage.</span></p>
+
specify separator. </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'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'>-
+
<p class=MsoNormal style='text-indent:36.0pt'><b><span style='font-family:"Verdana Ref"'>-
 
ENTER</span></b></p>
 
ENTER</span></b></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Press
Press ENTER after changing the Command or Icon field to save changes. Selected
+
ENTER after changing the Command or Icon field to save changes. Selected item
item will</span></p>
+
will</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>turn
turn <b>bold</b> and *** will appear in the dialog to inform you that the item
+
<b>bold</b> and *** will appear in the dialog to inform you that the item has
has been changed, but it is not yet</span></p>
+
been changed, but it is not yet</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>saved
saved to the disk.  Everything will be saved into the menu configuration after
+
to the disk.  Everything will be saved into the menu configuration after you
you press SAVE button.</span></p>
+
press SAVE button.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Button
Button will be grayed while save is in progress.</span></p>
+
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"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
+
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
 
<b>INSERT | SHIFT INSERT</b></span></p>
 
<b>INSERT | SHIFT INSERT</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Press
Press insert to add new menu item after currently selected. Hold shift to
+
insert to add new menu item after currently selected. Hold shift to insert new
insert new submenu.</span></p>
+
submenu.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>When
When the last item of the submenu is deleted, submenu will be turned to simple menu
+
the last item of the submenu is deleted, submenu will be turned to simple menu item.
item.  </span></p>
+
</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"'>-
+
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
 
<b>DELETE</b></span></p>
 
<b>DELETE</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>Remove
Remove the item from the menu, or remove complete submenu</span></p>
+
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='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"'>-
+
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:"Verdana Ref"'>-
 
<b>Browse buttons</b></span></p>
 
<b>Browse buttons</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>&gt;&gt;
&gt;&gt; buttons can be used to speed up editing.</span></p>
+
buttons can be used to speed up editing.</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
If the first word in the command field is “cd”,<i> browse for directory</i>
+
the first word in the command field is “cd”,<i> browse for directory</i> dialog
dialog will be displayed, otherwise,<i> browse for file.</i></span></p>
+
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'><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"'> 
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
Line 716: Line 662:
  
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
<b>OPTIONS</b></span></p>
+
<b>Settings</b></span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:45.0pt'><span style='font-family:"Verdana Ref"'>If
</span></b><span style='font-family:"Verdana Ref"'>Edit  </span><span
+
settings tab in Menu Editor is hidden, use CTRL TAB to select it. You can
style='font-size:13.0pt;font-family:"Courier New"'>_Config.ini </span><span
+
change the look and behavior of the editor here.</span></p>
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><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;
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
Line 758: Line 675:
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
 
font-family:"Verdana Ref"'>NOTES </span></b></p>
 
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
 
<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
 
may encounter some problems related to Total Commander interaction with the
menu. </span></p>
+
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
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>It
+
your icons if you set them. You can use “Add current dir” TC option without any
is the best to avoid using TC editor at all, since FavMenu Editor is much
+
problems. </span></p>
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"'>&nbsp;</span></p>
Line 782: Line 690:
 
<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"'>-
+
<p class=MsoNormal style='margin-left:45.0pt;text-indent:-9.0pt'><span
 If you have 2 submenu items with the same name, in order to see the second
+
style='font-family:"Verdana Ref"'>-  If you have 2 submenu items with the same
one, you must add</span></p>
+
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
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
name add additional pseudospace.</span></p>
 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"'>&nbsp;</span></p>
Line 812: Line 715:
 
</span></p>
 
</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>While
 While building the menu, section will be iterated sequentially up to the first
+
building the menu, section will be iterated sequentially up to the first menuX
menuX item </span></p>
+
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:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>This
 that doesn't exist. If, for some reason, your TC menu has &quot;hole&quot; in
+
menu, for instance will not work:</span></p>
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"'>&nbsp;</span></p>
Line 842: Line 739:
 
<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"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>To
 To make sure your menu is not messed-up, open TC Favorites configuration and
+
make sure your menu is not messed-up, open TC Favorites configuration and click
click OK</span></p>
+
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"'>   button.
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
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
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>-
(backup wincmd.ini first) and create your menu again. And if you still</span></p>
+
 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"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>&nbsp;</span></p>
 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"'>&nbsp;</span></p>
  
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'> 
+
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
 If you have any other mistakes in menu syntax script will not work. </span></p>
+
font-family:"Verdana Ref"'>SCRIPT MERGING</span></b></p>
 +
 
 +
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>If
 +
you are AutoHotKey user, you can include Favmenu and Editor in you own scripts.</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>This
 +
is an example:</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"'>-
+
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>     g
 Win9x systems are not and will not be tested. If it works, cool, but if not,  don't
+
:= 1</span></p>
ask for support.</span></p>
+
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>     SetWorkingDir
 +
&lt;path to favmenu&gt;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>     g
 +
:= FavMenu_Init(g, &quot;FavMenuSubmenu&quot;, false)</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>     g
 +
:= Editor_Init(g, “”, false)</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>     Menu,
 +
Tray, Add, FavMenu :FavMenuSubmenu</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>Return</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>#Include
 +
&lt;path to Favmenu &amp; Editor&gt;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>#Include
 +
FavMenu.ahk</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-family:"Courier New"'>#Include
 +
Editor.ahk</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:36.0pt'><i><span style='font-family:Verdana'>Init</span></i><span
 +
style='font-family:Verdana'> functions must be called in your autorun section
 +
to initialise scripts. Parameters are:</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:180.0pt;text-indent:-108.0pt'><i><span
 +
style='font-family:Verdana'>ByRef Param1</span></i><span style='font-family:
 +
Verdana'>     last GUI number used. This is automatically, just set the g to 1
 +
and add g as a first parameter in every next Init function call. Function will
 +
return new gui number incremented with the count of GUIs used in the script</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:180.0pt;text-indent:-108.0pt'><i><span
 +
style='font-family:Verdana'>Tray submenu</span></i><span style='font-family:
 +
Verdana'>     Since you can run several scripts together, you set here the Tray
 +
submenu that script will use for its own menu enteries. After that, add it in
 +
the tray with the <i>Menu</i> command. If you leave this parameter empty, the
 +
menu will be added to the Tray itself.</span></p>
 +
 
 +
<p class=MsoNormal style='margin-left:180.0pt;text-indent:-108.0pt'><i><span
 +
style='font-family:Verdana'>Standalone</span></i><span style='font-family:Verdana'>         Set
 +
this to false. This flag notifies the script that it is not used standalone but
 +
as a part of merged environment.</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     </span><span
 +
style='font-family:Verdana'>From this point you can use following functions:</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          FavMenu_Create()        Show
 +
the FavMenu. </span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          Editor_Run()            Starts
 +
the editor  </span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          </span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          FavMenu_Options_*       set
 +
ini option, replace * with ini value from [TCFavMenu] section</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          Editor_Options_*        set
 +
ini option, replace * with ini value from [Editor] section</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     </span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:Verdana'>        For instance, this
 +
will set Win + P to show FavMenu at thre mouse position and Win + N to show the
 +
Editor:</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     #p:</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          t :=
 +
FavMenu_Options_MenuPos      ;save current option</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          FavMenu_Options_MenuPos
 +
:= 1      ;mouse postion</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          FavMenu_Create()                  ;show
 +
the menu</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          FavMenu_Options_MenuPos
 +
:= t      ;restore saved option</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     Return</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     #n:</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>          Editor_Run()</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>     return</span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>                    </span></p>
 +
 
 +
<p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span></p>
 +
 
 +
<p class=MsoNormal style='text-indent:36.0pt'><span style='font-family:Verdana'>If
 +
you want to know more about script merging download my article:</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'><a
 +
href="http://www.r-moth.com/code/Article.zip">Autohotkey: Constructive Language
 +
Criticism &amp; Script Merging</a></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:"Courier New"'>&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><span style='font-family:"Courier New"'>&nbsp;</span></p>
  
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
 
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:14.0pt;
 
font-family:"Verdana Ref"'>TO DO</span></b></p>
 
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><b><span style='font-family:"Verdana Ref"'>&nbsp;</span></b></p>
  
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
Line 881: Line 900:
 
</span></span><span style='font-family:"Verdana Ref"'>Settings to include
 
</span></span><span style='font-family:"Verdana Ref"'>Settings to include
 
desired non-standard windows, by your choice, like Office dialogs,
 
desired non-standard windows, by your choice, like Office dialogs,
Start-&gt;Run, <br>
+
Start-&gt;Run, console, and basicly anything you would like to paste path into.</span></p>
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
 
<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;
 
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
+
</span></span><span style='font-family:"Verdana Ref"'>Larger icons</span></p>
the script.</span></p>
 
  
 
<p class=MsoNormal style='margin-left:54.0pt;text-indent:-18.0pt'><span
 
<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;
 
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>
+
</span></span><span style='font-family:"Verdana Ref"'>Support for standard
 +
“Browse for folders” dialogs</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: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"'>“Add current directory”
 +
in dialogs also.</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>
Line 910: Line 931:
  
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>in
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>in
AutoHotKey &lt;www.autohotkey.com&gt;</span></p>
+
<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
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>using
Line 920: Line 941:
  
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>e-mail:
 
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Verdana Ref"'>e-mail:
        miodrag.milic@gmail.com</span></p>
+
        <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:
 
<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>
+
  <a href="http://code.r-moth.com/">code.r-moth.com</a>  |  <a
 +
href="Documents%20and%20Settings/mmilic.UJP/Local%20Settings/Temp/_tc/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"'>&nbsp;</span></p>
Line 931: Line 954:
  
 
</div>
 
</div>
 
 
 
<b>Back: [[AutoHotkey:_TC_Fav_Menu]]
 

Revision as of 11:03, 4 July 2006

TC FavMenu

& Menu Editor

                      for Windows XP & 2K

 

 

OVERVIEW

 

TC FavMenu is standard Open/Save dialog enhancer and application launcher. It uses the ini file to store information about your favorite folders and applications and it is designed so to be portable.

 

Format of the menu ini file is compatibile with the 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 (with some options disabled). 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 complete replacement of TC’s internal directory menu editor witch adds many new options. It can be used together with FavMenu or as separate application.

 

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 <a href="http://www.autohotkey.com/">AutoHotKey</a> 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 (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

 

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

 

Later, you can call this Setup dialog via the tray menu.

 

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

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.

 

Add current dir item works only when TC is active and has the same meaning as in TC.

 

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 in the Favmenu, because this item is not  contained in  the menu declaration.

 

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

 

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

 

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

 

 

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 the use of the FavMenu it will use existing configuration. If you don’t use TC 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

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

 

 

SCRIPT MERGING

If you are AutoHotKey user, you can include Favmenu and Editor in you own scripts.

This is an example:

 

     g

= 1

     SetWorkingDir <path to favmenu>

     g

= FavMenu_Init(g, "FavMenuSubmenu", false)

     g

= Editor_Init(g, “”, false)

 

     Menu, Tray, Add, FavMenu :FavMenuSubmenu

Return

 

 

#Include <path to Favmenu & Editor>

#Include FavMenu.ahk

#Include Editor.ahk

 

Init functions must be called in your autorun section to initialise scripts. Parameters are:

ByRef Param1     last GUI number used. This is automatically, just set the g to 1 and add g as a first parameter in every next Init function call. Function will return new gui number incremented with the count of GUIs used in the script

Tray submenu     Since you can run several scripts together, you set here the Tray submenu that script will use for its own menu enteries. After that, add it in the tray with the Menu command. If you leave this parameter empty, the menu will be added to the Tray itself.

Standalone         Set this to false. This flag notifies the script that it is not used standalone but as a part of merged environment.

 

     From this point you can use following functions:

 

          FavMenu_Create()        Show the FavMenu.

          Editor_Run()            Starts the editor 

         

          FavMenu_Options_*       set ini option, replace * with ini value from [TCFavMenu] section

          Editor_Options_*        set ini option, replace * with ini value from [Editor] section

 

    

        For instance, this will set Win + P to show FavMenu at thre mouse position and Win + N to show the Editor:

     #p:

          t := FavMenu_Options_MenuPos      ;save current option

          FavMenu_Options_MenuPos

= 1      ;mouse postion

          FavMenu_Create()                  ;show the menu

          FavMenu_Options_MenuPos

= t      ;restore saved option

     Return

 

     #n:

          Editor_Run()

     return

                   

 

If you want to know more about script merging download my article:

<a href="http://www.r-moth.com/code/Article.zip">Autohotkey: Constructive Language Criticism & Script Merging</a>

 

 

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.

-         Larger icons

-         Support for standard “Browse for folders” dialogs

-         “Add current directory” in dialogs also.

 

 

 

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="Documents%20and%20Settings/mmilic.UJP/Local%20Settings/Temp/_tc/www.r-moth.com">www.r-moth.com</a>   |  <a href="http://r-moth.deviantart.com/">r-moth.deviantart.com</a>

 

Belgrade, Jun 2006