2
igarny
Would there be a Plugin solution for this. Something simple and small, that can read the *.BAR files and create a popup menu out of them?
You can use TC's
internal associations to open a bar file as a menu.
Assume that the local bar file is named
local.bar
Then you can add an Internal Association for the file type local.bar with this command (Actions -> Open):
Then pressing Enter or double-click on on any local.bar file will open this local bar as a menu.
To automatically position the cursor on the local.bar file you can put these two commands in your
usercmd.ini file:
Code: Select all
[em_selectlocalbar]
cmd=SELECTFILES local.bar
[em_gotolocalbar]
cmd=cm_ClearAll,cm_GoToFirstEntry,em_selectlocalbar,cm_GotoNextSelected,cm_UnselectCurrentNameExt
em_gotolocalbar can then be used as the command in a button.
If you expand the em_gotolocalbar command to this:
Code: Select all
[em_openlocalbar]
cmd=cm_ClearAll,cm_GoToFirstEntry,em_selectlocalbar,cm_GotoNextSelected,cm_UnselectCurrentNameExt,cm_Return,cm_GoToFirstEntry
Then the [em_openlocalbar command will open the bar menu by itself, but if there is NO local.bar file in the folder, then the file or folder under the cursor will be opened/executed.
You could make use of the em_openlocalbar by making a
View Mode (called for example localbar) and use the
em_openlocalbar command in the "
Auto-run commands" field, and then make an
Auto Switch Mode that sets '"
localbar" as the mode for the
Rule "? At least one match" for
File types: local.bar - then the locar bar menu will open
automatically when you enter any folder that contains a local.bar file.
If you are interested I can make some screenshots illustrating how to implement the above.