I would like to create a batch script that opens a new tab instead of a new window.
The reason for this is that I have a multimedia keyboard with a "browser button" that start the default browser with a new window.
Unfortunately there is no way to change this behavior in the keyboard software, it only accepts applications (*.exe files).
So I want to create a batch script, that opens a new tab in Opera and only if Opera is not running it will open a new window)
Then I just convert the batch file to an executable (with Advanced BAT to EXE Converter) and place it somewhere on the disk.
Only then am I able to assign the exe to my browser key.
The problem is that the "browser key" start the application, not a link (which would rather open in a new tab), so I need to bypass this behavior somehow. Maybe somebody has another idea than the command line switch.
I couldn't find anything on the internet, only for the old Opera.
Since Opera is built on Chromium I also searched for Chromium switches, but couldn't find anything suitable.
Any help appreciated.
using Opera 89.0.4447.91 on Windows 10 Pro 64-bit