Hi guys, I'm a long-term FAR user and I'd like to share my plugins with you.
Format Menu is currently built for ANSI FAR, works with both FAR 1.x and FAR 2.x (which I am using). Any ideas and suggestions are welcome. And no, I don't speak Russian I'm having a really hard time browsing the auto-translated forums. I just wish there'd be more English-speaking discussion out there :|
Anyways, the plugin does what I've been missing in FAR for years: file type dependent user menus. Kinda like the Explorer context menu, but better.
At the moment associations are edited by hand via an INI file called formats.conf. I've reproduced the most important special symbols (eg. !.!). The plugin supports multiple commands and FAR prefixes. Basically it accepts everything that the FAR command-line accepts.
For plugin discussion please go here: http://forum.farmanager.com/viewtopic.php?f=39&t=3854
Thanks Alex for activating my account. Probably the signup is broken (emails not received at three different addresses)?
Format Menu
Format Menu
- Attachments
-
- snap090224.gif (46.79 KiB) Viewed 34226 times
-
- snap090224_022156.png (15.19 KiB) Viewed 34225 times
Re: Format Dependent Menu - 0.1b
planned features for the next releases:
- multiple commands per menu item
- menu items that are shown only with panel file selection present
- applying these special menu items to multiple selected files
- optional quick and dirty format detection based on byte testing (kinda like id/idpos of multiarc's custom.ini)
- better string matching, but still simple - no regex overkill - (eg. *.r\d\d matches *.r00, *.r01, *.r02, etc.)
if someone tells me how to design far dialogs other than by using the editor:
- gui with configuration and integrated menu item editing
- multiple commands per menu item
- menu items that are shown only with panel file selection present
- applying these special menu items to multiple selected files
- optional quick and dirty format detection based on byte testing (kinda like id/idpos of multiarc's custom.ini)
- better string matching, but still simple - no regex overkill - (eg. *.r\d\d matches *.r00, *.r01, *.r02, etc.)
if someone tells me how to design far dialogs other than by using the editor:
- gui with configuration and integrated menu item editing
Re: Format Menu
Code: Select all
Thu Mar 05, 2009 - 0.2b
! Now working with FAR 1.75+
! Fixed execution problem that might have broken the plugin
in newer FAR versions.
! Fixed broken menu shortcut keys
+ Support for folders on tree panels
+ ID string based exclusion of menu items (see IDHex= and IDPos=)
+ Numpad +/- in menu now invokes the menu for the next/previous panel item
- Attachments
-
- formatmenu-0.2b.zip
- (93.3 KiB) Downloaded 806 times
Re: Format Menu - 0.3b
Code: Select all
Fri Feb 26, 2010 - 0.3b
! Now fully working with the latest FAR builds
* Using extended menu items
* Config setting 'Enabled=' removed
+ New setting 'Disable=' to gray out and disable items (ie. Disable=1)
+ New setting 'Hide=' to hide items (ie. Hide=1)
+ New setting 'NeedFile=' to check a file path that must exist in order
for the menu item to be enabled. You can specify a list of file paths
needed by adding multiple 'NeedFile=' settings. If the file does not
exist the menu item is grayed out and disabled. (suggested by ganzzz)
+ New setting 'NeedFileMode=' to change the way multiple needed file
paths are handled. With 'NeedFileMode=AND' (default) all paths must
exist, with 'NeedFileMode=OR' at least one file path must exist.
* You can now also use 'yes', 'no', 'true', and 'false' (case-insensitive)
instead of '0' and '1' for all boolean settings in config file if you
prefer (eg. 'Hide=yes' or 'Folders=no')
- Attachments
-
- formatmenu-0.3b.zip
- (101.41 KiB) Downloaded 894 times
Re: Format Menu - 0.3b
Format Menu 0.5 for FAR2 released, with important fixes.
Changes and downloads are here:
http://twodev.at/releases/far/formatmenu/
Changes and downloads are here:
http://twodev.at/releases/far/formatmenu/