Get the argument list passed to node-webkit at launch.
For instance running newproject.exe -layout lvl1 would return an arguments list with a length of 2,
where -layout and lvl1 are each an argument. Avoid using --prefixes, they are used for chromium arguments
EXPRESSIONS
argv (Arguments as JSON (Load into array))
args (Arguments as String)
length (Arguments length)
argAt (Argument at index)
CONDITIONS
Is nodeWebkit
Has argument ("")
EXAMPLE
Has argument('-layout') Go to layout of the next index
(see capx in zip)
Download
Update : Added the ability to take a snapshot of the window