How to insert note for appliedCharacterStyle

Hello world

How can I insert note to appliedCharacterStyle? After inserting the note writing information appliedCharacterStyle to the note as (family of fonts, size, etc...)

Your help will be very appreciated. Thanks in advance

Barry B.

Hi Baro

If I understand your conversation with Peter corectly, try this:

for (i = 0; i < found.length; i++) {
  var n = found[i].insertionPoints[-1].notes.add();
  n.texts[0].contents =
  found[i].leading + '\r' +
  found[i].appliedFont.name + "--" + found[i].pointSize + '\r' +
  found[i].kerningMethod + '\r' +
  found[i].justification.toString();
}

You can add the footnote at the insertion point, for example in a last found text, you will need to just fullfill it with the message.

Tags: InDesign

Similar Questions

Maybe you are looking for

  • Table of contents don't link to pages in a doc Pages

    Info entry: a .pages document blank template presentation of two columns The problem: Table of contents generated refuses to do interactive links to the corresponding pages. Styles is ok (so that's why I was able to compose the TOC). What is the prob

  • Bluetooth/Hotspot tethering without cable does not work

    Hello world We have a weird put in place where Bluetooth does not (entirely). iPhone is last 9.3.3 OSX is 10.11.4 Setting up Personal Hotspot on the iPhone and then connecting via Wi - Fi laptop does not work. Error message "Unable to connect" standa

  • How to find on how firefox accesses the Internet?

    I use firefox on a mac desktop computer. Activity monitor says it has access to the internet. All open tabs were loaded and are just sitting there. How will I know what he does with the internet?

  • Problems with flaps preferably

    I have a Macbook Pro El Capitan (10.11.5) 2011 running. I have problems of implementation of system components preferably after startup: it takes a significant amount of time (~ 20 minutes?) before the affected components will be charge: it is not cl

  • Reset Bios password in lenovo g580

    Hello My laptop bios G580 has a password... I do not know it... How do to reset the password of bios... don't say I have to remove the battery... Please say how to remove the bios ipassword inside... pleaase tell no fix for this...