I found two ExecuteCommandByID have no effect,
for example below snip macro :
var sFn = “c:tmpee.jsee”;
editor.OpenFile(sFn, 0, eeOpenAllowNewWindow | eeOpenDetectUnicode); //success
editor.ExecuteCommandByID(4349); //”Select This Macro” command —–> nothing happen !!!
document.close();
editor.ExecuteCommandByID(4217); //”Run Macro” command —–> nothing happen !!!
PS, Why I need above two command :
I wrote a macro which can popup menu to show user macros within any custom folder (include subfolders),
so I can put macros into arbitrary deep subfolders.
This is useful for who have a lot of macros, and want to organize them hierarchical.
thanks !