EmEditor Home - EmEditor Help - Command Reference - Search category

Set Word to Find command

Summary

Sets the current word as the query string.

Description

Sets the word at the cursor position to the query string for the Find Next command.  After running this command, if you select the Find Next command, it will immediately find the next instances of the word specified with this command. If the Word at Cursor is not checked in the menu displayed on clicking > button, the Find dialog box will display the word specified by this command as default.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4325);

[VBScript]

editor.ExecuteCommandByID 4325

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2012 by Emurasoft, Inc.