How to get TextRange position. Like get RasterItem position

Community Beginner ,
Feb 10, 2021

Copy link to clipboard

Copied

Is there any way to get postion in TextRange?

Javascript best. Thank you.

TOPICS
Scripting

Views

115

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Adobe Community Professional , Feb 11, 2021
Charu Rajput Adobe Community Professional , Feb 11, 2021
Here is the video where you can see how to expand and ungroup https://www.dropbox.com/s/92qo7bvujgn7utv/Screen%20Recording%202021-02-11%20at%204.44.02%20PM.mov?dl=0    For scripting you can use after selecting the textframe. app.executeMenuCommand('Expand3'); app.executeMenuCommand('ungroup');  

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Feb 10, 2021

Copy link to clipboard

Copied

Hello,

What do you mean by position of TextRange.

Is that x and y coordinates of the text range?  

Best regards

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Feb 10, 2021

Copy link to clipboard

Copied

position is

蒙福5E82_1-1613018373756.jpeg

 

 

like https://illustrator-scripting-guide.readthedocs.io/jsobjref/RasterItem/#rasteritem-position api

蒙福5E82_0-1613018270602.png

how to get 'de' position or order character

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Enthusiast ,
Feb 11, 2021

Copy link to clipboard

Copied

If you expand and ungroup text, characters become compound paths which have positions. Otherwise I think it's ill-advised to think about x and y positions of characters while they're part of text.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Feb 11, 2021

Copy link to clipboard

Copied

How to expand and ungroup text, i want to try it. Thank you very much.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Feb 11, 2021

Copy link to clipboard

Copied

Here is the video where you can see how to expand and ungroup

https://www.dropbox.com/s/92qo7bvujgn7utv/Screen%20Recording%202021-02-11%20at%204.44.02%20PM.mov?dl... 

 

For scripting you can use after selecting the textframe.

app.executeMenuCommand('Expand3');
app.executeMenuCommand('ungroup');

 

Best regards

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
蒙福5E82 AUTHOR LATEST
Community Beginner ,
Feb 11, 2021

Copy link to clipboard

Copied

Great,Thanks for your video.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more