Nothing here yet !
sample commands
No results
File + LineNumber

Current application
NSWorkspace.sharedWorkspace.activeApplication
Change current window title
NSApplication.sharedApplication.keyWindow.title = 'Hello from Javascript !'
Move window frame
var w = NSApplication.sharedApplication.keyWindow; w.frameOrigin = (NSMakePoint(w.frame.origin.x+10, w.frame.origin.y-10))
Grow window frame
var w = NSApplication.sharedApplication.keyWindow; w.set({frame:NSMakeRect(w.frame.origin.x, w.frame.origin.y, w.frame.size.width+10, w.frame.size.height+10), display:false})
New window
var w = NSWindow.instance({withContentRect:NSMakeRect(100, 100, 200, 605), styleMask:NSTitledWindowMask+NSClosableWindowMask, backing:NSBackingStoreBuffered, defer:false});w.title='New window !'; w.orderFront(null)
Add buttons to last created window
for (var i=0;i!=20; i++) { var b = NSButton.instance({withFrame:NSMakeRect(10, i*30+5, 100, 28)}); b.bezelStyle = i; w.contentView.addSubview(b); }