Multi Commander > Support and Feedback
[SOLVED] MC using wrong app to open multiple files
bgroper:
--- Quote from: Mathias (Author) on December 06, 2024, 07:22:58 ---You are saying "view" So I guess you edit the "view" part in FileType Setup.?
When you click to "Open" file. you are not viewing them.. you are Opening them. so the "Open/Run" part in FileType Setup is used.
By default it is handled by windows and windows will open all of the files that MC send to Windows with the program associated with the file.
You can override that behaviour if you want, But then I don't think opening multiple is supported. But Then you can do that from Script and define you own command.
--- End quote ---
Sorry, I shouldn't use vague and misleading terminology.
Actually, I'm almost exclusively using the keyboard. Not much mouse.
To select a few files, I'm using the keyboard shift and arrow keys. Then just press Enter key.
I don't know whether the Enter key causes View or Open/Run actions.
In File Type Setup I've configured Foxit executable for *.pdf in both Viewers and Launchers(Run/Open) tabs.
Single files get opened by Foxit as expected, but when multiple files selected, a different (unwanted at this point) PDF app opens the selected files.
Please, is there some existing information about making a script to achieve my desired outcome ?
BTW, with Windows Explorer I can use keyboard to select multiple pdf files and then press Enter key. The multiple files (nearly) instantly open in FoxitReader in separate tabs as expected.
TIA's for any tips or clues.
Mathias (Author):
Return is Open/Run (unless it is a folder then it is Navigate into)
If you have multipe files select and to Open/Run (even via return key) all selected files are sent to Windows with the command to "Open" them.
If I do it for pdf I get a new instance of Edge with two tabs and a pdf in each.. and it is not MC that open edge. Windows does that because pdf is associated with that
Might be that Foxit does not support "Open" action with multiple files or something. I don't know. It is out of MCs control
If an unwanted app open the pdf. check your windows associations for pdf.. everything that is not overridden in filetype setup in MC is handed of to Windows. And Windows launch it depending on the filetype associations.
I don't know how foxit works. Can you open multiple from command line with like "<exe name for foxit>.exe pdf1.pdf pdf2.pdf" then it should be possible to use scripting for it
or does it need a file with all files listed that it should open.. I seen some program work like "<name>.exe -l parameters.txt" and in parameters.txt all files to open are listed.
depending on how foxit work I think it should be possible to create a UserDefinedCommand for it. that you den assign to a hotkey to open them.
bgroper:
Thanks for your helps.
Yes, the problem comes from windoze, not MC.
I've managed to hack at the registry, and now multiple files are opening tabbed in Foxit as expected.
If anybuddy else has a similar issue, there's some useful ideas in this blog page.
https://www.technorms.com/26760/add-remove-programs-open-menu-registry
Meanwhile, I've marked this as [SOLVED]
Navigation
[0] Message Index
[*] Previous page
Go to full version