Highlighted

Highlighted Text

Enthusiast ,
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!

Most Valuable Participant
Correct answer by Jongware | Most Valuable Participant

"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.)

TOPICS
Scripting, SDK

Views

201

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

Highlighted Text

Enthusiast ,
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!

Most Valuable Participant
Correct answer by Jongware | Most Valuable Participant

"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.)

TOPICS
Scripting, SDK

Views

202

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

Copy link to clipboard

Copied

Hello,

 

What is the name of the plugin.

 

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

Copy link to clipboard

Copied

Sonar Bookends InDex Pro

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...
Jul 02, 2020 0
Most Valuable Participant ,
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.)

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

Copy link to clipboard

Copied

Thank you, Jongware.

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