- AuthorPosts
- June 6, 2008 at 1:40 am #5879yaotParticipant
(1) First, I click the keyboard “ctrl + F” to find the keyword “on”, then all the occurrence of the “on” will be highlighted. when we click the “F3”, it would jump to the next occurrence of the “on”;
(2) then I execute a macro, which contains the following code
document.selection.Find(“off”, eeFindNext | eeFindReplaceCase);
then all the occurrence of the “off” will be highlighted.
but this time, when we click the “F3” in order to jump to the next occurrence of the “off”, the “on” is highlighted again, then the next “on” is selected.
(3) How this happens, it seems the macro function “Find” doesn’t equal to the “ctrl + F”, how can i avoid it?
please help me, thank you very muchJune 6, 2008 at 7:08 pm #5881Yutaka EmuraKeymasteryaot wrote:
(1) First, I click the keyboard “ctrl + F” to find the keyword “on”, then all the occurrence of the “on” will be highlighted. when we click the “F3”, it would jump to the next occurrence of the “on”;
(2) then I execute a macro, which contains the following code
document.selection.Find(“off”, eeFindNext | eeFindReplaceCase);
then all the occurrence of the “off” will be highlighted.
but this time, when we click the “F3” in order to jump to the next occurrence of the “off”, the “on” is highlighted again, then the next “on” is selected.
(3) How this happens, it seems the macro function “Find” doesn’t equal to the “ctrl + F”, how can i avoid it?
please help me, thank you very muchI will look into the source code when I have a time. Thanks!
June 7, 2008 at 3:28 am #5883yaotParticipantOK!
Hope for your reply!
Thank you very much! - AuthorPosts
- You must be logged in to reply to this topic.