Format Menu

Announcements of new plug-ins. Plug-ins are discussed in a forum below.
Post Reply
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Format Menu

Post by twodev »

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)?
Attachments
snap090224.gif
snap090224.gif (46.79 KiB) Viewed 34219 times
snap090224_022156.png
snap090224_022156.png (15.19 KiB) Viewed 34218 times
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Re: Format Dependent Menu - 0.1b

Post by twodev »

Code: Select all

Sat Feb 28, 2009 - 0.1b

 !	Public preview release
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Re: Format Dependent Menu - 0.1b

Post by twodev »

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
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Re: Format Menu

Post by twodev »

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
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Re: Format Menu - 0.3b

Post by twodev »

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 892 times
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
twodev
Posts: 56
Joined: Mon 23 Feb, 2009 00:36

Re: Format Menu - 0.3b

Post by twodev »

Format Menu 0.5 for FAR2 released, with important fixes.

Changes and downloads are here:
http://twodev.at/releases/far/formatmenu/
far2 plugins: format menu (discuss) | editor tools (discuss); far2 tools: lngtool
Post Reply

Return to “Announcements of new Plug-Ins”