end2endzone / ShellAnything

ShellAnything is a C++ open-source software which allow one to easily customize and add new options to *Windows Explorer* context menu. Define specific actions when a user right-click on a file or a directory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visibility/Validity attribute `istrue` and `isfalse` for validation against boolean properties.

end2endzone opened this issue · comments

Is your feature request related to a problem? Please describe.
There is no direct way of validating a menu based on a property which is set to a boolean value. For example, based on #90, the property selection.dir.empty could be used.

Describe the solution you'd like
A new attribute for Visibility / Validity nodes should be create to allow validation against boolean properties. Suggested names for these new properties are istrue, isfalse. The inverse attribute should also support these new attributes.

Describe alternatives you've considered
You can define expression and use exprtk attribute but that is not very intuitive and user friendly.

Additional context
This is a follow up on #90.