Allow foreground color selection during action replay

531 views13 repliesLast post: 10/17/2007
Method to allow the user to select a foreground color during the playback of an action, and have the action use that color in in fills?
#1
Hi,
Just insert "Stop":
- Expand the action and select command preceding the filling - From the Actions palette menu select "Insert Stop" item - In the "Record Stop" dialog, type some message (e.g., "Choose a color") and check "Allow Continue" (if current color is ok user may just hit "Continue" button)

SimplePhotoshop.com <http://simplephotoshop.com/>
#2
Thanks, Andrei!

Unfortunately, in CS2, inserting a stop doesn't work. Let me know if I'm missing something here:

In CS2, choosing a color is not allowed if you continue after a stop, and if you stop and restart, the color used when the action was recorded is used, not the one you chose during the stop.
#3
controltheweb,
Disable or delete "Set Foreground Color" command. Or place it prior to the "Stop"
#4
Thanks for all the help!!

Apologies for being dense here! I suspect I'm just not understanding what you're getting at. There is no "Set Foreground Color" Command in CS2 that I'm aware of ... that is what seems to be the problem .. there is no command for this, or other way to allow the user to set it for the action to use that I know of.
#5
Andrei is referring to that command line in the action you have created.
#6
There is no "Set Foreground Color" Command in CS2 that I'm aware of...

Correct in that there's no "menu command" to invoke the Color Picker dialog.

Here's example STOP text instructions to chew on:

"Next step: Set the Foreground color

1. Click foreground color swatch or open the Color palette
2. Choose color
3. Click PLAY button (triangle) to resume action"
#7
But you can't actually do ANYTHING while the stop dialog box is on the screen, and if you stop to change color and restart, the color chosen isn't used .. this is reason I'm writing .. what am I missing here?

In CS2, choosing a color (or doing anything) is not allowed during a stop, so continuing does no good. And if you stop the stop and restart after choosing, the color used when the action was recorded is used, not the one you chose after stopping the stop.
#8
Put another way: How can I get the script to use the current color settings (whether set in advance or after stop)? No matter how I set the color, it only uses the colors as they were when the actions were recorded.

Thanks for all your help!!
#9
Sounds like there are few dots yet to be connected until the lights come in for all parties...

1. Given the stellar advice so far :) has yet to get you over the hump (aka: wonderful solutions, but for the wrong problem...) it would be helpful at this point if you explained in general terms what you're trying to accomplish.

Why?

Sometimes there are multiple ways to do something in PS and "which route to take" depends on the intended outcome.

2. To clarify are you using Edit > Fill to literally "fill" with a color or using a Solid Color adjustment layer? Or what?
#10
Need is for solid fill adjustment layers in whatever color chosen by user who will be using the action.
#11
After the Make Fill Layer command has been recorded, have you tried ticking the right-most of the two embossed squares to the left of the recorded step? When the action is played the presence of that tick mark should cause the action to pause at that point enabling one to choose a custom color.

Does this help?
#12
You've put me on the right track!

While pause (the tick mark you've both documented) doesn't show the color picker when adding a Solid Color Fill Adjustment Layer, I've simply added a layer content options menu step with pause ticked after the create Solid Color Fill Adjustment Layer step, and it works like a charm!

Thanks to you both for all your help!!!!
#14