Dropping files on User Menu Bar Items ignores parameters

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
SvA
Posts: 486
Joined: 29 Mar 2006, 02:41
Location: DE

Dropping files on User Menu Bar Items ignores parameters

Post by SvA »

Any options defined for a program in the user menu bar are ignored when a file is dropped on it. I'd expect Salamander to replace the specified variables with the values taken from the dropped file, at least as long as a single file or directory is dropped. If no selection specific variables are specified in the parameters field, I'd consider putting a list of quoted full names at the end of the provided parameters as appropriate.

As an example I use BareGrep, a free regular expression search tool by Bare Metal Software Pty Ltd. Its command line syntax is

Code: Select all

baregrep [options] [pattern {file(s)}]

or

Code: Select all

baregrep (-n|--no-regex) [options] {file(s)}


Obviously, since I have no way of telling it what to search for from within SS, I need to use the second form. When dropping files on the User Menu Bar icon, SS ignores the specified -n option and consequently baregrep treats the first or only file as the search pattern.