close application programmatically

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...

close application programmatically

Postby sedrok » Fri Jul 11, 2014 1:38 pm

close application programmatically :

1-st way
javascript code
process.exit(code=0);


2-nd way
javascript code
var win=require('nw.gui').Window.get();
win.maximize();
win.show();

win.close();
sedrok
 
Posts: 26
Joined: Tue Jun 03, 2014 12:50 pm

Return to CrossUI for Desktop Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron