There are some gui programs where if you select them from the menu, if it is already open, instead of opening a new instance, that window will become foremost. However, there are some programs that will open multiple instances of themselves.
There is a certain program that exhibits the latter behavior but I want it to do the former. How can this be done?