Hello,
I’d like select some text which is a file path e.g.
C:\temp\file.txt
and run a macro to open that file path in EmEditor (I can then assign that macro to the context menu).
I tried to record a macro; it copies the highlighted text but obviously stops recording at the Open Dialog.
I also tried the following code, but I clearly don’t know what I’m doing!
document.selection.Copy(eeCopyUnicode);
editor.OpenFile(eeCopyUnicode);
Thank you for any help!