-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
<?xml version="1.0" encoding="utf-8"?>
<root>
<shell>
<menu name="Select the left file for comparison">
<visibility isempty="${select.left.path}" />
<actions>
<property name="select.left.path" value="${selection.path}" />
<property name="select.left.path.filename" value="${selection.filename}" />
</actions>
</menu>
<menu separator="true" />
<menu name="Compare">
<visibility properties="select.left.path" />
<menu name="Compare with '${select.left.path}' (text)">
<icon path="C:\Windows\System32\imageres.dll" index="14" />
<visibility properties="select.left.path" />
<actions>
<exec path="${env.ComSpec}" arguments="/K FC /L "${select.left.path}" "${selection.path}"" basedir="${selection.parent.path}" />
<property name="compare.first.selection.path" value="" />
<property name="compare.first.selection.filename" value="" />
<property name="select.left.path" value="" />
<property name="select.left.path.filename" value="" />
</actions>
</menu>
<menu name="Select file '${selection.filename}'">
<actions>
<property name="select.left.path" value="${selection.path}" />
<property name="select.left.path.filename" value="${selection.filename}" />
</actions>
</menu>
</menu>
<menu separator="true" />
</shell>
</root>After rebooting, I have to comment out the following, then manipulate the context menu, and then turn the comment off to get it to work.
<visibility isempty="${select.left.path}" />