• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get TextRange position. Like get RasterItem position

Community Beginner ,
Feb 10, 2021 Feb 10, 2021

Copy link to clipboard

Copied

Is there any way to get postion in TextRange?

Javascript best. Thank you.

TOPICS
Scripting

Views

424

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Feb 11, 2021 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');

 

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 10, 2021 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 10, 2021 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 11, 2021 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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2021 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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Great,Thanks for your video.

Votes

Translate

Translate

Report

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