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

Hyperlink textFrame

Engaged ,
Jan 05, 2017 Jan 05, 2017

Copy link to clipboard

Copied

Hi guys,

I need my script to hyperlink a text frame but it tells me that I'm passing an invalid parameter to the add() method.

I want the textFrame to be the source.

var enFrame = doc.textFrames.add();

enFrame.geometricBounds = ["120.022554524739mm","14.7056147051818mm","126.067663574219mm","133.294385294776mm"];

for ( key in pageNumbers[0] ) {
   
    var enPage = (pageNumbers[0][key]);
   
    doc.hyperlinks.add( enFrame, {destinationPage: pages[enPage] } )
   
    }

Any help would be great

TOPICS
Scripting

Views

388

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

People's Champ , Jan 05, 2017 Jan 05, 2017

Votes

Translate

Translate
People's Champ ,
Jan 05, 2017 Jan 05, 2017

Copy link to clipboard

Copied

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
Engaged ,
Jan 06, 2017 Jan 06, 2017

Copy link to clipboard

Copied

Thanks I was looking at the wrong version

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
Engaged ,
Jan 06, 2017 Jan 06, 2017

Copy link to clipboard

Copied

LATEST

please can you look at add hyperlink to page using data in table​ ?

My debugging skills need some work

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