I am searching for hours now, on how to pass a variable to a newly opened window using node-webkit.
The task is pretty simple (like HTTP POST), but there is no word about this, in the nwj (node-webkit) documentation.
code I use to open new windows:
var win = gui.Window.open ('print.html', {
position: 'center',
width: 901,
height: 127
});
win.on ('loaded', function(){
// the native onload event has just occurred
var document = win.window.document;
});
Thanks!