|
Author |
Message |
theeyesthelimit
Joined: 12 Feb 2011
Posts: 1
|
Posted: Sat Feb 12, 2011 6:46 pm Post subject: Text Action AND Alignment for Vertical & Horizontal |
|
|
Hopefully someone can help me before I figure it out myself.
I am trying to create an action where I can tag (put my company logo) on the bottom center of my images. The problem is that I have to create a different action for the different alignments (Portrait and Landscape).
I am sure there is some way to set the x & y position of the text layer to a percentage of the page or something like that.
Anyone???? I am finding it hard to even specify what it is I am looking for to find a tutorial or anything like that. |
|
|
|
|
thehermit
Joined: 05 Mar 2003
Posts: 3987
Location: Cheltenham, UK
|
Posted: Sat Feb 12, 2011 7:29 pm Post subject: |
|
|
Welcome to the forum. It's a bit convoluted, but you can customise it to your needs Watermark Action _________________ If life serves you lemons, make lemonade! |
|
|
|
|
YourOnlySin
Joined: 23 Jan 2011
Posts: 230
|
Posted: Sat Feb 12, 2011 7:46 pm Post subject: |
|
|
When you are creating your action, place your logo on the image you want. Make sure the MOVE tool is selected. Select BOTH the image layer AND your logo layer and click on the align buttons (per my attachment) to place the logo at the bottom center. _________________ http://www.jmerrittphotorestoration.com/ |
|
|
|
|
barb-emedia
Joined: 29 May 2011
Posts: 2
Location: Toronto
|
Posted: Sun May 29, 2011 3:11 pm Post subject: |
|
|
Hi,
I think that aligning text with variable document sizes is better done with a script. Later, you can setup an action to run the script. The script would look something like the one below:
(save it as .jsx and place it into the presets/scripts folder for your photoshop application.)
try {
var docRef = app.activeDocument;
var originalUnit = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;
var artLayerRef = docRef.artLayers.add();
artLayerRef.kind = LayerKind.TEXT;
var textItemRef = artLayerRef.textItem;
textItemRef.contents = "Hello, World";
textItemRef.size = 18;
textItemRef.font = "Impact";
var textPosition = [docRef.width/2-20,docRef.height-20];
textItemRef.position = textPosition;
docRef = null;
artLayerRef = null;
textItemRef = null;
app.preferences.rulerUnits = originalUnit;
} catch (Error) {
alert("no document");
} _________________ http://barb-emedia.com/ |
|
|
|
|
Photoshop Warrior
Joined: 21 Mar 2011
Posts: 19
Location: USA
|
Posted: Mon May 30, 2011 4:13 am Post subject: |
|
|
Yeah, i think barb-emedia's script would be useful in this case _________________ Master Photoshop FAST and become a Photoshop Warrior! with The Ultimate Photoshop Course! |
|
|
|
|
|