If I create a action in photoshop to run a script called "test script", How can I determine within the "test script" what action name started running this script? I'm trying to write a script to scale my images. The scaling will be determined by what Action ran this script.
Example
Action Names are 5x7, 4x6, 8x10
Eash action above will run the same script called "scale me"
Within "scale me", the java code will determine that 4x6 started running "scale me"
"scale me" will go to the section within the java code to scale the image loaded in Photoshop to a 4x6 size.
The reason for writing the "scale me" code this way is that I can maintain only one script to scale my images.
Any suggestions or help would be appreciated.
Raymond