Skip to content

Files and folders together do not start MENU #97

@DBenS

Description

@DBenS

If user selects many files AND many folders (together) the MENU does not appear; even functioning well if the same set is selected separately (just files or just folders).

To Reproduce
Steps to reproduce the behavior:

  1. Go into the right window of Windows Explorer (files and folders).
  2. Select some file and some directory at the same time (one DIR and one FILE).
  3. Call the context menu.
  4. The custom option does not appear.

Expected behavior
Since ShellExtension correctly handles files and folders in a separate way, would be great if the mix of both types could be handled too.

Environment

  • OS: Windows
  • Version 8.1 Pro up to date

Additional context
The code below functions perfectly if the selected set is separated (just files or just DIR's), but not functioning if I set both at the same time.

<menu name="Inspect OBAKE files">
<icon path="C:\OBAKEv6\Obake6.exe" index="0" />
<visibility class="file" exists="C:\OBAKEv6\Obake6.exe" />
<validity class="file" exists="C:\OBAKEv6\Obake6.exe" pattern="*.obkf???"/>
<visibility class="directory" exists="C:\OBAKEv6\Obake6.exe" />
<validity class="directory" exists="C:\OBAKEv6\Obake6.exe" />
<actions>
	<property name="selection.multi.separator" value=";" />
	<file path="${env.USERPROFILE}\obk.in" encoding="utf-8">${selection.path}</file>
	<exec path="C:\OBAKEv6\Obake6.exe" arguments="/iai ${env.USERPROFILE}\obk.in" />
	<property name="selection.multi.separator" value="${line.separator}" />
</actions>
</menu>

Thank you for your attention;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions