[PLUGIN] Argv

Post your completed addons to share with the community

Post » Tue Jul 29, 2014 11:24 pm

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 ;)
Last edited by Noncentz705 on Fri Aug 29, 2014 12:37 am, edited 1 time in total.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Tue Jul 29, 2014 11:52 pm

Interesting!
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests