Copy link to clipboard
Copied
It may not be possible, but I'm just asking
Copy link to clipboard
Copied
Hi Steven
What about second question - if you have a debug version of InDesign u can trace all actions from Menu:
Test -> Trace -> Action
Regards
Bartek
Copy link to clipboard
Copied
You could observe kActionManagerBoss for kMenuManagerMenuStatusChangeMessage, protocol IID_IMENUMANAGER.
Unfortunately that does not give any hint about the actual action (the void* is null), and I have not tried keyboard shortcuts.
I'd also consider suppressed ui, but that is supposed to do its magic before invoke.
Do you want to see actions in general (e.g. for a kind of action recorder?) or a specific action? Most of the latter have much better own notifications in the model.
I think there are also some special tracing interfaces for system builders that want to analyse crash situations, but these are outside the regular SDK and I have not had the time to try them out so I can't tell whether they cover your problem. Too much scripting recently.
Dirk
Copy link to clipboard
Copied
Thanks Dirk
Dirk Becker wrote:
You could observe kActionManagerBoss for kMenuManagerMenuStatusChangeMessage, protocol IID_IMENUMANAGER.
Unfortunately that does not give any hint about the actual action (the void* is null), and I have not tried keyboard shortcuts.
I'd also consider suppressed ui, but that is supposed to do its magic before invoke.
The problem is then it only gets when menu is clicked, but not when action is invoked with keyboard shortcut.
Dirk Becker wrote:
Do you want to see actions in general (e.g. for a kind of action recorder?) or a specific action? Most of the latter have much better own notifications in the model.
I'm thinking action recorder type of thing
I think there are also some special tracing interfaces for system builders that want to analyse crash situations, but these are outside the regular SDK and I have not had the time to try them out so I can't tell whether they cover your problem.
How do I get a hold of these headers?
Anyways, i'm not so optimistic about finding a solution, but any input will be appreciated
Steven
Find more inspiration, events, and resources on the new Adobe Community
Explore Now