EmEditor (text editor) Forum Index
   EmEditor Core Enhancement Suggestions
     macro focus
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 6/3/2010 9:35 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2404
Re: macro focus
Hello Derek,

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.

editor.ExecuteCommandByID(4409);


Therefore, your "Close All" macro will become:

editor.ExecuteCommandByID(4409);
editor.ExecuteCommandByID(4384);
editor.ExecuteCommandByID(4117);


If you have further questions, please let me know.
Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   macro focus derekcohen 6/2/2010 11:47 pm
   » Re: macro focus Yutaka 6/3/2010 9:35 am
       Re: macro focus derekcohen 6/3/2010 11:11 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文