Adobe Fireworks is a bitmap and vector graphics editor aimed at web designers.
For questions strictly about photoshop scripting! Photoshop is a raster graphics editor by Adobe Systems, that is industry standard for creating, modifying and treating images and graphics
"I find fireworks has an easier time dealing with vectors because they re first class objects while in photoshop they re actually a combination of a vector mask and a colour fill"
from question "How to create vector graphics and then generate icons from them?"
"I have fireworks 8 as well as photoshop cs3 on my windows pc but i m more familiar with fireworks"
from question "Plot points for image map"