Allow foreground color selection during action replay

C
Posted By
controltheweb
Oct 16, 2007
Views
531
Replies
13
Status
Closed
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?

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

AD
Andrei_Doubrovski
Oct 16, 2007
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/>
C
controltheweb
Oct 16, 2007
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.
AD
Andrei_Doubrovski
Oct 16, 2007
controltheweb,
Disable or delete "Set Foreground Color" command. Or place it prior to the "Stop"
C
controltheweb
Oct 16, 2007
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.
C
chrisjbirchall
Oct 16, 2007
Andrei is referring to that command line in the action you have created.
DR
Danny_Raphael
Oct 16, 2007
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"
C
controltheweb
Oct 16, 2007
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.
C
controltheweb
Oct 16, 2007
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!!
DR
Danny_Raphael
Oct 16, 2007
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?
C
controltheweb
Oct 16, 2007
Need is for solid fill adjustment layers in whatever color chosen by user who will be using the action.
DR
Danny_Raphael
Oct 16, 2007
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?
AD
Andrei_Doubrovski
Oct 17, 2007
Indeed
C
controltheweb
Oct 17, 2007
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!!!!

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections