Skip to main content
minimum99
Known Participant
May 5, 2016
Answered

How to get notified when artboard changed

  • May 5, 2016
  • 3 replies
  • 706 views

Anyone know how to connect to an artboard changed notification?

I looked all over the documentation materials and found nothing.

Thanks

This topic has been closed for replies.
Correct answer btempleton1982

You're looking for kAIDocumentCropAreaModifiedNotifier

3 replies

btempleton1982
btempleton1982Correct answer
Inspiring
July 25, 2016

You're looking for kAIDocumentCropAreaModifiedNotifier

minimum99
minimum99Author
Known Participant
September 20, 2016

You are awesome! That is the best way to detect artboard changed.

Thanks

minimum99
minimum99Author
Known Participant
July 20, 2016

Thanks, that is what I had to do, unfortunately.

Toto RoToTO
Inspiring
May 9, 2016

I'm afraid you could not do such a thing. 

If you take a look at AIArtboard.h, you won't find any notifiers.

What you could do is to use kAIArtSelectionChangedNotifier or kAIArtPropertiesChangedNotifier notifiers.

Each times those are triggered, you could compare artboards properties or states. (Not so easy).

Not ideal, but if you do it smart you could do it.

Thomas.