Hi Gary,
Okay, the best way to explain this is to cut to the quick. The way you’re trying to do this is not going to work in an automated fashion with a single path (of four rectangles).
One thing I don’t understand is:
I just apply to the current layer which is the top layer.
How are you applying the gradient? With the gradient tool?
By the way, you can upload a layered Tif file to Image Shack, provided it is less than a one meg file.
If you wish to use paths as the selection determinate, then you will be far better off using four separate paths. But let’s talk about this.
We have two issues: setup, and automation. Let’s do setup first.
You would want to create a work path and then double click on that work path in the Paths palette, converting the Work Path to an actual path with a name (Path 1). Then you create a second work path (your second rectangle) and do the same thing to create Path 2 – rinse and repeat until you have all four paths, 1-4 in the paths palette.
By doing this, you can then record an action that loads path 1 as a selection (by control clicking on path 1), add gradient to layer in selection 1; then Control Click on path 2 (load path 2 as a selection), add gradient, and so on.
As long as your image starts with 4 separate paths in the paths palette, regardless of the actual shapes or contents of the paths themselves, the action will load path 1 through path 4 sequentially and apply the gradient to each.
So the second thing to talk about is automation. Why are you trying to create an action out of this?
Normally, you create an action to save repetative steps from image to image. That can include the idea of running an action on a series of images.
So in order for an action to be of value, the image structure must be the same from image to image. Once you open an image that does not have Paths 1-4 in the paths palette, then the action errors out.
I don’t know what kind of work you’re doing so I can’t really comment on the probity of using an action to perform these steps – maybe you have thousands of images with these paths in them <shrug>, I dunno. But if you don’t have the same structure in each image, an action will be of limited value.
I hope that helps some.
Peace,
Tony <
http://www.imageshack.us>