24V 3A from ATX power supply?
You can open the supply and look for the TL431 chip. There will be two resistors forming a voltage divider from the 5V rail to the 2.5V that the TL431 compares against. If you calculate the right resistor values, you can set this divider to output half the voltage it currently does. Then you can get the output up so that the +5V rail becomes +10V and the +12V rail becomes +24V. You will probably need to install new output filter capacitors of higher voltage rating as well. And if you modify an ATX supply this way, please cut off the ATX connector and install something else, so it won't plug in to a motherboard.
I have done this in the past using 2 supplies in series. The ground for the supply is the wall ground so to make it work I had to take one of the supplies apart and mount the board on nylon bolts to isolate it from the case. Then that supply floats and can be put in series. Not quite sure what happens around the current limit of the supply.
I am not sure you can get 3A out of it, but there are both +12V and -12V leads in ATX. You have -12V on blue wire, 0V on black, and +12V on yellow. So it's 24V betweeen blue and yellow.
If you need +24V from black wires, you'll have to arrange a boost converter and draw about 6A from the 12V. You'll likely want to use more than one lead then.