Lorenzo45 / AutoMute

Mute or unmute your MacBook based on your current Wi-Fi network
http://lorenzo45.github.io/AutoMute
MIT License
182 stars 15 forks source link

Make preferences window come to front if preferences is clicked and it's already open #1

Closed Lorenzo45 closed 9 years ago

Lorenzo45 commented 9 years ago

Can't seem to get this to work, makeKeyWindow and makeKeyAndOrderFront do nothing.

Lorenzo45 commented 9 years ago

Fixed! Used NSApp.activateIgnoringOtherApps(true)