Thanks c.pfaffenbichler! That has certainly put me on the path!
Apologies, but I am totally new to this sort of Photoshop scripting. I have used other forms of scripting, but wanted to be on the right path before diving in to learning another.
So, this is not for "colour management" as such, more colour correction. If a client supplies an image that is too dark or too light, that image will be printed too dark or too light. Using this script we hope to get several variations of each image, similar to the old IMAGE > ADJUSTMENTS > VARIATIONS menu in Photoshop.
I don't suppose you could outline the basics of using Action Manager, or at least point me in the right direction?