I want to get the filename on "File Opened" event.
Hi.
I'm trying to write "File Opened" event handler.
and have found that "editor.ActiveDocument.FileName" does not return the filename to open.
how can I get the filename to open?
thank you
I'm trying to write "File Opened" event handler.
and have found that "editor.ActiveDocument.FileName" does not return the filename to open.
alert(editor.ActiveDocument.FileName);
how can I get the filename to open?
thank you
It should be
alert(editor.ActiveDocument.Name);
Ah! It works
I should have read Help carefully.
thanks.
I should have read Help carefully.
thanks.
3 posts in this topic