In answer to #10001 Add an option to retrieve the currently open file name (long filename if possible).