Skip navigation
vincent 1982
Currently Being Moderated

Detecting if a character style has been added, removed or modified

Jul 12, 2012 5:12 AM

Tags: #character_styles

Hello,

 

I have a question, how can i detect if a user has added, deleted or modified a character style through the indesign scripting sdk? Im am trying to intercept the event but i cant find it at all.

 

I tried the following:

 

this.addEventListener(Application.AFTER_SELECTION_CHANGED , afterSelectionHandler);

 

But that isnt the right event.

 

Anyone know how i can intercept it?

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 2:02 PM   in reply to vincent 1982

    Please read the Forum sidebar "About this Forum" - scripting questions are better answered in the scripting forum.

     

    As far I know you can't observe that kind of changes from within a script / event listener. On the other hand a plugin can do that.

     

    Dirk

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points