PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Text Action AND Alignment for Vertical & Horizontal
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation
 See a User Guidelines violation? Please contact us.
Author Message

theeyesthelimit

Joined: 12 Feb 2011
Posts: 1



PostPosted: Sat Feb 12, 2011 6:46 pm    Post subject: Text Action AND Alignment for Vertical & Horizontal Reply with quote

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.
View user's profile Send private message

thehermit

Joined: 05 Mar 2003
Posts: 3987
Location: Cheltenham, UK


PostPosted: Sat Feb 12, 2011 7:29 pm    Post subject: Reply with quote

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!
View user's profile Send private message

YourOnlySin

Joined: 23 Jan 2011
Posts: 230



PostPosted: Sat Feb 12, 2011 7:46 pm    Post subject: Reply with quote

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/
View user's profile Send private message Send e-mail Visit poster's website

barb-emedia

Joined: 29 May 2011
Posts: 2
Location: Toronto


PostPosted: Sun May 29, 2011 3:11 pm    Post subject: Reply with quote

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/
View user's profile Send private message Visit poster's website

Photoshop Warrior

Joined: 21 Mar 2011
Posts: 19
Location: USA


PostPosted: Mon May 30, 2011 4:13 am    Post subject: Reply with quote

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!
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com