NewWindowPlugin

From Allocinit

Jump to: navigation, search

Contents

Synopsis

NWPlugin is a hack that changes the default behavior of what happens when you click an already open program in the dock. By default, NWPlugin will try to create a new window rather than bring any existing window forward (or out of the dock).


Rationale

I use Terminal.app a lot, and I often minimize terminal windows to the dock when I want them out of the way. When I want a new terminal window, I click on the dock icon. Annoyingly, one of the minimized windows comes forward. I then type Apple-N, and put the other window back in the dock. NWPlugin was written to alleviate this problem.


How it works

NWPlugin is not a dock hack. NWPlugin is (optionally) loaded into any Cocoa application you want. When the dock is clicked (or any other program launches the Cocoa app), the application is notified and NWPlugin takes over by sending a key sequence to the application. By default, NWPlugin sends "⌘N".


Known to work

  • Safari
  • Terminal
  • TextEdit
  • Camino
  • Mail


Known not to work

  • Firefox


Contact information

NewWindowPlugin is written by Steve Green


Download

Version Release Date
1.0 01-Aug-2006
Personal tools
Java Projects
gtk+ Projects
Car Stereo