The hide selection API hides everything on the document
Hi All,
Why doesn't this work?
I have a selection on the document.
result = sAIActionManager->PlayActionEvent("adobe_hideSelection", kDialogOff, NULL);
It hides every item on the document, instead of the current selection.
I have tried this as well,
AICommandID toggleVisiblity;
error = sAICommandManager->GetCommandIDFromName(kHideCommandStr, &toggleVisiblity);
error = sAIMenu->InvokeMenuAction(toggleVisiblity);
Same result.
Is this API broken, or am I missing something?
I am using AI CC 2015.3
