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

Reg: select particular text from selection

Participant ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

Hi,

i need to select particular range from the selection.

app.select(myElement.texts);

a1.JPG

form this, i need select as b/m:

b1.JPG

for applying hypherlink

myDocument.hyperlinkTextSources.add(app.selection[0], {name:Math.random().toString()});

--

Thanks

Bala

TOPICS
Scripting

Views

624

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

Enthusiast , Mar 08, 2013 Mar 08, 2013

Guess your searching for item by range

app.selection[0].texts[0].characters.itemByRange(2,-2).select();//should select 'the new text' ...

Votes

Translate

Translate
Enthusiast ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

Guess your searching for item by range

app.selection[0].texts[0].characters.itemByRange(2,-2).select();//should select 'the new 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
Participant ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

LATEST

Thanks hans....

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