1) Provided that this===$.global, the property app should be enumerated in your for...in loop. It's strange that you don't see that key. On my platform, 'app' in $.global is true. You should check this:
alert( $.global.reflect.properties );
2) The non-enumerable properties of the global object usually are its methods (simple functions such as exit, or object constructors such as File). By definition the for...in loop won't retrieve those keys, but you can grab them with:
alert( $.global.reflect.methods );
Perfect. Thanks Marc. I've not had occasion to use reflect before.
(While I do get true for 'app' in $.global, the for...in loop won't print it—unless I've accessed app earlier in the script.)
WIth sublime, can it trigger indesign to run the script like the ESTK can?
Does anyone else use an alternative that can control indesign?
Ok thanks for the info.