Call a method on InDesign Startup Complete, how?
Hi!
I haven't found anything in the documentation regarding this problem that I want to solve. Basically I need to call a method after InDesign has finished starting up and all the UI elements are ready.
I've looked into IStartupShutdownService, but this calls my method way too early when not all UI elements have been set up and thus results in a null pointer access. I'm pretty sure I can't use CmdUtils::CreateCommand either since I only need InDesign to call a method and not change anything regarding the document or model.
A second option would be for me to find out if my plugin's panel is visible after InDesign startup has completed and if it is visible then perform this method call.