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

Highlighted Text

Enthusiast ,
Jul 01, 2020 Jul 01, 2020

Copy link to clipboard

Copied

Hello,

I have a InDesign plugin, which can highlights and extract the particular text for index. But, the highlight property is not showing in any of the InDesign feature.

 

  1. They didn't follow "Style Override Highlighter"
  2. They didn't follow style properties like underline, color, gradient, stroke etc.
  3. They didn't follow conditional text
  4. Highlighted text visible on Preview mode as well, but if we generate PDF, it is not visible in output PDF.
  5. If we remove the plugin, the highlighted text disappears in the InDesign file.

 

Just wanted to know, is there any hidden highlight feature in InDesign plugin? If yes, then can we do the same thing in InDesign javascript? or I missed out anything?

 

Thanks!

TOPICS
Scripting , SDK

Views

920

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 , Jul 02, 2020 Jul 02, 2020

"Is there any hidden highlight feature in InDesign plugin?"

 

Yes (apparently, as you said you found one). A plugin can add such functionality to InDesign.

 

".. then can we do the same thing in InDesign javascript?" No. Javascript cannot add such functionality. Javascript only allows the interface with InDesign, it does not add or remove anything from InDesign itself.

 

I am guessing you have a series of follow-up questions, but those are going to be the same as a fairly recent, long series of

...

Votes

Translate

Translate
Guide ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

Hello,

 

What is the name of the plugin.

 

P.

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
Enthusiast ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

Sonar Bookends InDex Pro

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 ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

"Is there any hidden highlight feature in InDesign plugin?"

 

Yes (apparently, as you said you found one). A plugin can add such functionality to InDesign.

 

".. then can we do the same thing in InDesign javascript?" No. Javascript cannot add such functionality. Javascript only allows the interface with InDesign, it does not add or remove anything from InDesign itself.

 

I am guessing you have a series of follow-up questions, but those are going to be the same as a fairly recent, long series of Absolute Beginners' problem threads. Let's get some possible (mis)conceptions out of the way first, then.

 

1. No, not Javascript nor any other end-user programming language can add such advanced functions. These need a plugin.

2. Yes I am positively sure. It cannot be done, by design.

3. No, plugins cannot be written in Javascript. For that you need the Adobe InDesign SDK.

4. No, that SDK requires plugins to be written in C++, not in Java/Javascript/AppleScript/Windows batch files/xxx (for every programming language 'xxx' which does not equal 'C++')

5. No, you cannot copy a random SDK example and easily modify this to add all those fancy new functions that you want. It is a bit harder than that.

6. No, the SDK requires an advanced level of C++ before you start programming with it. Not during, not after. If you have 0% knowlegde of C++ then you are not prepared to use the SDK. There is no Beginner's Guide -- because it assumes there are no "beginners"; you must already be proficient in C++. (As well as all strictly InDesign related stuff, such as its DOM, the various interfaces, and more like that. I.e., even if you know how to program but you don't know anything about InDesign, then the SDK documentation will still not help you understand it.)

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
Enthusiast ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

LATEST

Thank you, Jongware.

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