NW.js Documentation - Window
[quote:26p6cow0]Move and resize window
The window.resizeTo(width,height) method resizes a window to the specified width and height.
The window.resizeBy(width,height) method resizes a window by the specified amount.
The window.moveTo(x,y) method moves a window's left and top edge to the specified coordinates.
The window.moveBy(x,y) method moves a window a specified number of pixels relative to its current coordinates.
In C2 you have to write:
"require('nw.gui').Window.get().moveBy(x,y);"[/code:26p6cow0]
or
[code:26p6cow0]"require('nw.gui').Window.get().moveTo(x,y);"[/code:26p6cow0]
[img="http://lookpic.com/O/i2/242/ifIcoiG9.png"]