Actions
Commands¶
Note that all commands are using functions from nxshlib and (currently) send all parameters to the called function, which may cause trouble for all parameters not listed here.
nxgetkey key [-d default] [session]
Returns 0 if key
was found, 1 otherwise. Echos the value for key
.
If -d default
was given, returns 0 even if key
was not found and echos its value.
nxhaskey key [session]
Returns 0 if key
was found, 1 otherwise.
nxapp key [session]
Returns 0 if @key@App was found, 1 otherwise. Execs value.
nxiftrue key [session]
Returns 0 if key
was found and its value was true. 1 otherwise.
Updated by Stefan Mark almost 5 years ago · 1 revisions