Execute ShowFindDialog from JS

How to execute internal function ShowFindDialog using javascipt?

To run using ctrl-f

if ((typeof exeoutput !== 'undefined') && exeoutput ) {
    window.addEventListener("keydown",function (e) {
      if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) { 
          //e.preventDefault();
          (typeof exeoutput !== 'undefined') && exeoutput && exeoutput.RunHEScriptCode('ShowFindDialog("");')
      }
    })
   }
2 Likes