Create and open a preferences window on COMMAND+,


#1

Need help figuring out how to open my settings window using the application command

label: "Settings",
        accelerator: "Command+,",
        click: function(){
           ipc.send('open-window');             
        }

the ipc.send() throws and error, any ideas???