Skip to content

Define a specific property for use as separator for handling multiple file selection #52

@end2endzone

Description

@end2endzone

The current 0.4.0 version implementation handles multiple file selection with a \n as a separator between files. This makes it impossible to use an action that requires all selected files as different parameters (in a single command line).

After discussion with @Cirn09, it appears that using a pre-defined property would be the easiest way to provide customization when handling selection with multiple files. For example:

<property name="selection.multi.separator" value="&quot;, &quot;" />
<property name="myarguments" value="&quot;${selection.filename}&quot;" />

For backward compatibility, the property value should be defined by default as \n.

The user manual (documentation) of the new property should also be updated.

The documentation should also specify how to get back to the default behavior/value using the following:

<property name="selection.multi.separator" value="${line.separator}" />

The problem is first discussed in issue #50 and was moved to this issue for clarity, leaving issue #50 for plug-in related discussions.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions