- June 3, 2010 at 7:47 am #8561derekcohenParticipant
macros don’t seem to work unless the cursor is in the active document (I think).
This is irritating. For example if I select a document from the document selector on the left hand side and want to run a macro on it I have to click into it first.
If I want to close all open documents using a macro then the same thing is true.
Do any macros work on the document selector?
Could it be that by default macros work on the current document even if the cursor is not in the document?
DerekJune 3, 2010 at 5:35 pm #8562Yutaka EmuraKeymaster
Thank you for using EmEditor Professional!
Some commands (like Close command) work differently depending on where the focus is. To avoid this problem, you can first run “Active Pane” command to keep the focus from custom bars. So, please try adding the following line before the top of your macro.
Therefore, your “Close All” macro will become:
If you have further questions, please let me know.
Thank you!June 4, 2010 at 7:11 am #8563derekcohenParticipant
thanks – that’s very useful
- You must be logged in to reply to this topic.