I'd like to fill the selected area of a layer with a pattern or colour using scripting or an action, not bothered which.
I keep getting an error- "Could not complete the command because the selected area is empty".
I think my problem is that the action I'm currently using has no way of knowing where on the screen the bucket fill tool should be clicked to ensure that the selection gets filled.
I've tried playing around with the All Layers box and non-contiguous.
First off a Script might be better, but in an Action you might want to avoid the bucket and instead use the command Edit – Fill (or alt-backspace to fill with the foreground color).
Been using photoshop for a while and never noticed that Fill... menu item!
Brilliantly simple and simply brilliant. There's a few actions I'll need to amend now.
Thanks you so much for the speedy response