1
Automation Interface, Add-Ins and Tools / Re: Getting clicked model
« on: January 24, 2014, 02:11:19 am »
Thank you, I think I understand the idea. Just one small question. If I click such item:

I get no EA_ContextItemChanged event. If I click any child of it, event is fired properly. Is there any way to get selected item of that type? The reason I am asking is beacause in our projects we have like ~100 items of that type in one EAP file, so I'd like to know which one was selected.
If I select a child of it, I user GetPackageByGUID, which is perfectly fine, but getting selected top level container - is it possible?
Thank you for your help, I appreciate it really much:)

I get no EA_ContextItemChanged event. If I click any child of it, event is fired properly. Is there any way to get selected item of that type? The reason I am asking is beacause in our projects we have like ~100 items of that type in one EAP file, so I'd like to know which one was selected.
If I select a child of it, I user GetPackageByGUID, which is perfectly fine, but getting selected top level container - is it possible?
Thank you for your help, I appreciate it really much:)