I've developed a plug-in before, after selecting a file with the suffix (XLS or xlsx or CSV). Right click the mouse and select "open as ExcelReader" to display the file content in the toolwindow.
But now, Microsoft office is still the default opening method.
The effect I want to achieve is to select a file (the suffix is XLS or xlsx or CSV), and then automatically open the toolwindow and display its contents.
In other words, you need to right-click and select "open as ExcelReader" to display the content.
But now: just select the file and you can do the same as ExcelReader.