theformula wrote:
I want it to work normally so I just press it once and it stays powered then press again and it stops powering it.
I imagine you would need some circuitry to achieve that. This is normally handled by the motherboard (with an ATX compatible board) which is why the momentary switch can switch the machine on and off without the switch needing to latch. You could either look for a schematic to build a circuit to achieve this, or you could replace the switch on the tower with a latching one which can switch mains voltage and current, leave the PSU hotwired, and just switch the mains.
theformula wrote:
I was also wondering is using the black and green wire good for this or are they other wires? Will mediator work with the black and green wire used ?(as I am getting one soon).
Pin 14 switches the PSU on while shorted to ground. That's all you need to do to make it turn on. As long as it is connected to any ground pin it will be fine.
You won't need to do it with the Mediator as long as it has an ATX connector. The momentary power switch on the tower will connect to the Mediator and will work properly with the PSU.
If the Mediator you get is an older one with only an AT power connector, you will need to either replace the PSU with an AT one or convert the ATX one to AT.