macro macros QueryStatusByID 4571 EEID_FINDBAR_INCREMENTAL – EmEditor (Text Editor) https://www.emeditor.com Best Text Editor, Code Editor, CSV Editor, Large File Viewer for Windows (Free versions available) Wed, 30 Oct 2013 19:42:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 QueryStatusByID method not working for EEID_FINDBAR_INCREMENTAL (4571) https://www.emeditor.com/forums/topic/querystatusbyid-method-not-working-for-eeid_findbar_incremental-4571/ Wed, 30 Oct 2013 19:42:44 +0000 http://www.emeditor.com/forums/topic/querystatusbyid-method-not-working-for-eeid_findbar_incremental-4571/ Hi,
I was trying to write a macro to implement a single-keystroke incremental search:
1) Enable Find Toolbar if not enabled
2) Set focus to Find Toolbar
3) Enable Incremental Search on toolbar
Short test script:

var eeStatus = editor.QueryStatusByID(EEID_FINDBAR_INCREMENTAL);
alert(eeStatus);

However eeStatus doesn’t reflect whether Incremental Search is checked or not. So it seems QueryStatusByID method doesn’t work for this EEID_FINDBAR_INCREMENTAL command ID.
Is this correct, or am I doing something wrong?
If this is correct, I would like to request that QueryStatusByID reflect state for this command ID.
Thanks!
Bill

]]>