#20212
Stefan
Participant

Same for me. v15.1.5, 32-bit portable.

editor.OpenFile( strFile )
didn’t work but give error

if I call that command
from within a script
with enabled ‘File Opened’ Event.

 
Dummy code f.ex.:

OnFileOpenedEvent.jsee
if(strFileExt==”XML”)
editor.OpenFile( strOtherExistentFile )

 
Please assist.