-
1. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 3:43 AM (in response to Andy Bay)How can I record a drop of 15% in opacity in an action?
You can’t, you need to employ Scripting which can automate operations that are based on certain conditions.
-
2. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 3:52 AM (in response to Andy Bay)If you want to give it a try, paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS4 or /Applications/Utilities/Adobe Utilities-CS5/ExtendScript Toolkit CS5) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action, (in CS4 and CS5) be used in a Configurator-Panel or started from ExtendScript Toolkit directly.
// 2012, use it at your own risk; #target photoshop; if (app.documents.length > 0) { var myDocument = app.activeDocument; var theLayer = myDocument.activeLayer; if (theLayer.isBackgroundLayer == false) { var theOpacity = theLayer.opacity; var newOpacity = theOpacity - 15; if (newOpacity <= 0) {newOpacity = 0}; theLayer.opacity = newOpacity; } }; -
3. Re: Increment opacity in an action
Andy Bay Mar 11, 2012 3:53 AM (in response to c.pfaffenbichler)Hi!
I actually managed to do this by using the command edit-->fade as part of my action. It was a little bit tricky but I got the result I wanted (which was to have a incremental opacity fade).
-
4. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 3:56 AM (in response to Andy Bay)Well, I would not have thought of that.
By the way, do you do the rotations on Smart Object instances or plain duplicated Layers?
-
5. Re: Increment opacity in an action
Andy Bay Mar 11, 2012 4:01 AM (in response to c.pfaffenbichler)I never used the fade option before myself, just happened to stumble upon it now..
I have the rotations of plain duplicated layers, which is actually causing me a bit of trouble, since I need to figure out how to keep the registration point (also called anchor point) where I need it. I think I will try to use a fully painted layer and create the shape im rotating on it by using a layer mask. This might help keeping the registration point where need it.
-
6. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 4:06 AM (in response to Andy Bay)I asked out of concern with regard to image deterioration.
Applying several transformations (rotations in this case) may reduce the quality that one could avoid by working with Smart Objects.
-
7. Re: Increment opacity in an action
Andy Bay Mar 11, 2012 4:08 AM (in response to c.pfaffenbichler)Okay, thanks for the tip!
-
8. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 4:11 AM (in response to Andy Bay)What is the ultimate purpose of the Action anyway, if I may ask?
-
9. Re: Increment opacity in an action
Andy Bay Mar 11, 2012 4:28 AM (in response to c.pfaffenbichler)Sure, the purpose is to quickly sketch logo ideas with different shapes. I know PS is not optimal for logo creation, but I'm simply sketching and testing ideas out. At the moment I'm experimenting with rotating duplicates of an element in order to form a new shape/pattern.
-
10. Re: Increment opacity in an action
c.pfaffenbichler Mar 11, 2012 7:01 AM (in response to Andy Bay)I know PS is not optimal for logo creation
One has to use what one knows how to use, I guess.
At the moment I'm experimenting with rotating duplicates of an element in order to form a new shape/pattern.
Probably easier done in Illustrator, but if you do it in Photoshop all the more reason to use Smart Objects, because then one can change/update multiple instances in one fell swoop.
For circular arrangements you could try a Script from this thread:



