Does a Command Exist to Test Whether a Folder is Selected

Does a command exist to test whether a folder is selected and take action or, if not, take other action?

I have in mind something like:

@if:numdirs=1
...
@if:else
...

@ifsel can be used to test things like that.

1 Like

I tested the evaluator and the results were all 0, it seems that the function IsSelected() is not working correctly.
=return "dopusrt /argsmsgbox "+IsSelected("*.ahk")