Hey,
I can't seem to get Photoshop CC under OSX (Mavericks and pre-mavericks) to dispatch a closedDocument event, has it been removed or has it's name changed?
The plugin SDK for the AIR SDK and the Android SDK all mention it still, and it works nicely under CS6 (been using three different versions at least for SC6).
Example:
var idNS = stringIDToTypeID("networkEventSubscribe");
var desc1 = new ActionDescriptor();
desc1.putClass( stringIDToTypeID( "eventIDAttr" ), stringIDToTypeID( "closedDocument" ) );
executeAction(idNS, desc1, DialogModes.NO);
Tata,
Erik