Highlighted

Convert URLs to Hyperlink - using InDesign Javascript

Community Beginner ,
Aug 23, 2020

Copy link to clipboard

Copied

Hi Everyone,

How to click the "Convert All" button in the "Convert URLs to Hyperlink" menu, using indesign javascript.

 

Mageshwaran_0-1598189151587.png

Please help me!!!

 

Thanks,
Magesh

Adobe Community Professional
Correct answer by Peter_Kahrel | Adobe Community Professional

There is no script call for that. You'll have to write your own script to do that: find all URLs and convert the found text to hyperlinks.

P.

Topics

Scripting

Views

73

Likes

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

Convert URLs to Hyperlink - using InDesign Javascript

Community Beginner ,
Aug 23, 2020

Copy link to clipboard

Copied

Hi Everyone,

How to click the "Convert All" button in the "Convert URLs to Hyperlink" menu, using indesign javascript.

 

Mageshwaran_0-1598189151587.png

Please help me!!!

 

Thanks,
Magesh

Adobe Community Professional
Correct answer by Peter_Kahrel | Adobe Community Professional

There is no script call for that. You'll have to write your own script to do that: find all URLs and convert the found text to hyperlinks.

P.

Topics

Scripting

Views

74

Likes

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
Aug 23, 2020 0
Adobe Community Professional ,
Aug 23, 2020

Copy link to clipboard

Copied

There is no script call for that. You'll have to write your own script to do that: find all URLs and convert the found text to hyperlinks.

P.

Likes

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
Reply
Loading...
Aug 23, 2020 0
Adobe Community Professional ,
Aug 26, 2020

Copy link to clipboard

Copied

Adobe implemented the Convert to Hyperlinks box as a script, rather than a plugin, so it is not scriptable.

Likes

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
Reply
Loading...
Aug 26, 2020 0
Advisor ,
Aug 26, 2020

Copy link to clipboard

Copied

Go to https://console.adobe.io/downloads/id

Click on InDesign >> Plugin SDK >> 2020 >> Cross Platform

Note there is also a scripting SDK which would be the more logical location, but I'm indeed talking about the Plugin SDK.

Be warned that this is a 500 MB download.

In the archive, you'll find source/open/components/converturltohyperlink/ConvertURLToHyperlink.jsx and related files.

This has been around in the SDK since CS5 and steadily grown in size by 50%, so it is likely the current source for the feature. I did not further look at it.

Dirk

Likes

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
Reply
Loading...
Aug 26, 2020 1