Skip to main content
Participant
October 31, 2013
Question

Text positioning??

  • October 31, 2013
  • 2 replies
  • 1080 views

Hello,

I am trying to figure how to move around my text in Photoshop and I cant understand what coordinates you must use, please somebody help me i'm losing my mind here- i keep trying but failing!!!!!!

This topic has been closed for replies.

2 replies

Inspiring
October 31, 2013

I assume you mean you are trying to move the text with a script.

There is two ways you can move type. One way is with the textItem properties. The other way it with the artLayer.translate(). Which way are you trying to use?

Abeilles1Author
Participant
November 1, 2013

yeah sorry with script-  trying to move text with textItem properties but I cant figure out which coordinates to use-when I figure out the point I want them at and put it into the script they end up somewhere else entirely!!

pixxxelschubser
Community Expert
Community Expert
November 1, 2013

Try this:

var aLay= app.activeDocument.activeLayer;

if(aLay.textItem && aLay.textItem.contents != "")

alert(aLay.textItem.position);

aLay.textItem.position = [100,100];

app.refresh();

alert(aLay.textItem.position);

Marvest
Inspiring
October 31, 2013

If you are trying just to move around your text, with the Type Tool (T) click on the text and release, and then move your cursor away a bit until it changes to an arrow. Click and hold and it will allow you to move the text around.