I wander if there's a list of compatible commands for Set when @ifset is used.
That's because I tried to use this command, but not working.
@ifset:FOCUS=right
Go swap
@ifset:else
Go refresh
Any similar command that already work?
What I want is if I open the View Pane and if the source is the right list, then swap, otherwise refresh.
Thanks.
The Help documentation for @ifset reads, in part..
"Allows simple conditional behaviour based on tests for various Set command conditions."
There are no caveats about Set command conditions that are not allowed so my assumption is that all Set command conditions should be supported. I note that the OP's @ifset:FOCUS=right problem has been fixed. However, here is another one that I can't get to work.
@ifset:FORMAT="MyFavourite"
Set VIEW=Tiles
Regards, AB
It's also not working with LISTERCMD=Maximize or LISTERSIZE=935,580.
It's working with COLUMNSTOGGLE=dircount (where I wouldn't expect it to work because the command doesn't exactly specify a state) but not with COLUMNS=dircount (where I would expect it to work).
Since that doesn't seem to be self-explaining to me I'd also like to have a list of what makes sense and what is working with @ifset.