Skip navigation
ggg_harsh
Currently Being Moderated

How to get Notification before opening a document?

Aug 9, 2012 3:43 AM

Hi,

I have two questions-

 

1) As in Illustrator SDK, we have a notifier "kAIDocumentOpenedNotifier", which comes when a document is opened. My problem is, if document is having some missing fonts, then Illustrator first throws the missing font window and then sends the "kAIDocumentOpenedNotifier" notification. Is there any way to get this notification at very start of opening document(before missing font window)?

 

We have "kAIDocumentAboutToCloseNotifier" notifier. but this is from close doc event. I want the same for open doc event

 

Note : We have such notifier in Indesign SDK - "kBeforeOpenDocSignalResponderService"

 

2) I am also having trouble in finding the format of fonts, used in document?(eg- TrueType,OpenType,Postscript etc)

 

Please help me in above problems or provide some suitable link as i am not able to find the solution nywhere.

 

Regards,

Harsh

 
Replies
  • Currently Being Moderated
    Aug 10, 2012 7:53 AM   in reply to ggg_harsh

    I'm not sure there is such a notifier in AI. I think kAIOpenCommandPreNotifierStr is still after that, but maybe not -- I haven't tried it. If it's not kAIOpenCommandPreNotifierStr, I think you're out of luck. You can take a look in AIMenuCommandNotifiers.h to see if I've missed something, but I don't think anything else in there applies for a pre-pre-Open.

     
    |
    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