EmEditor (text editor) Forum Index Questions and Answers about Macros
Is it a bug ? ExecuteCommandByID have no effect for "Select this macro" and "Run macro" command. | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| hihihlo | Posted on: 6/17/2011 2:01 am |
Just popping in ![]() ![]() Joined: 6/9/2011 From: Posts: 11 |
Is it a bug ? ExecuteCommandByID have no effect for "Select this macro" and "Run macro" command. 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 ! |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
hihihlo | 6/17/2011 2:01 am |
| |
Yutaka | 6/17/2011 8:12 am |
| |
hihihlo | 6/17/2011 7:02 pm |
| Register To Post | |


