EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Focus in v12 when opening new instance
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
BobBailey
Posted on: 1/2/2013 3:53 pm
Just popping in
Joined: 9/26/2011
From:
Posts: 12
Focus in v12 when opening new instance
In earlier versions, if I opened a new EmEditor window by double clicking the tray icon, the cursor focus would go to the new window in the 1,1 position. I could immediately start typing.

Now,
win 7
64 bit
v12.latest (today)
...I have to move the cursor to the window, click, and then I can start typing. This may have begun earlier, I tend to drag my feet on these things.

Is this a bug? ...a feature? ...a setting?

I have searched a bit in this forum and in help and see nothing.

(It is also true that a macro that used to position the cursor at the end of the file no longer does that. Related?)

EmEditor continues to be a go to tool for me. I use it in so many different ways. Thanks.

...Bob
Yutaka
Posted on: 1/2/2013 7:17 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: Focus in v12 when opening new instance
Hello BobBailey,

I can't reproduce the issue. Can you please export registry at HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3, zip the .reg file and email me as an attachment (tech@emurasoft.com)?

Thank you!


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

BobBailey
Posted on: 5/2/2013 1:57 pm
Just popping in
Joined: 9/26/2011
From:
Posts: 12
Re: Focus in v12 when opening new instance
I just tried this with v13 beta and still no focus. I tried double clicking the tray icon to open a new window, tried double clicking a .txt file, and tried opening a file from the recent files list in the tray.

All opened the file but none retained focus.

fwiw... Bob
BobBailey
Posted on: 5/2/2013 2:05 pm
Just popping in
Joined: 9/26/2011
From:
Posts: 12
Re: Focus in v12 when opening new instance
I also have a shortcut that runs at startup:
"C:\Program Files\EmEditor\EmEditor.exe" D:\BobBootLog.txt /mf "D:\My Macros\AddTimestampLine.jsee"

AddTimestampLine.jsee Macro:
document.selection.EndOfDocument(false);
document.selection.InsertDate(eeDateDateTime);
document.selection.NewLine(1);
document.selection.CharLeft(false,1);
document.selection.Text=" ";
document.ReadOnly=false;
editor.ExecuteCommandByID(4099);

This used to run, insert the line, set the cursor at the end of the last line of data, not the last line of the file, and leave the focus on the EmEditor window. It still adds the date/time stamp but the cursor is at the top and there is no focus.
Threaded | Newest First Previous Topic | Next Topic | Top


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