Skip to main content
Known Participant
May 25, 2012
Question

how can i catch the width percentage

  • May 25, 2012
  • 1 reply
  • 1677 views

pls see the picture,

how can i get the this data

450.0%

This topic has been closed for replies.

1 reply

Known Participant
May 25, 2012

does anyone can help me? Thanks a lot

JJMack
Community Expert
Community Expert
May 25, 2012

Michael to me that look like the info Photoshop displays in the info palette during an active interactive uncommited transform of a layer.  I do not believe you can interact with Photoshope through sicrpting dirung an on going interact active process like transforn for that interactive transform command is in controll. Once you commit the transform and the command give up controll. Controll may pass back to  your script however that information will no longer be there in the info palette. Should you then start up an other interactive transform the info there will start at 100.0% 100.0% 0.0 0.0 degrees.   You can transform a layer using inf values.

JJMack
Known Participant
May 25, 2012

yes, i change POINTTEXT to PARAGRAPHTEXT, then got the textItem.width and height , but sometimes the width and the height is incorrect .

So i should catch that data.but now i don't how to catch it.

Please forgive me my poor english.

Do you understand what i said?