bitfocus / companion-module-vicreo-hotkey

MIT License
13 stars 7 forks source link

Using Open a File to Open a Browser works differently on Windows and Mac #67

Closed jonroberts1988 closed 1 year ago

jonroberts1988 commented 1 year ago

I am trying to switch between browsers on a second device - in the current setup, 3 different web pages are open on 3 different browsers on a Microsoft Surface. The streamdeck (and companion) are on a Mac Mini. Everything is networked.

When I tested this MacOS to MacOS it worked fine, the 3 buttons brought each browser to the front with the website already open.

When I run the same action MacOS to Windows it opens a new browser window each time and the page has to load. Doing this all day results in hundreds of open windows across all 3 browsers, each with the same tab.

The Open File complete file path, for example, is : "C:\Program Files\Mozilla Firefox\firefox.exe"

So is there a way I can use Vicreo to bring different tabs or windows to the front on a Microsoft device, without opening new windows?

Version Listener Version: 5.0.1 Basic Bitfocus Companion Version: 3.0.0 Beta

JeffreyDavidsz commented 1 year ago

On windows when you open a program it will open a program. It works like the OS is written. The action you are using is opening firefox because that is what you are telling Windows to do. You should look into the Shell action command. Find the right command line syntax to do the things you want to do. As an example; below picture will open google.com on a standard browser and when you re-run add tabs.

Scherm­afbeelding 2023-04-20 om 12 45 53
JeffreyDavidsz commented 1 year ago

Be aware you are using a free version of vicreo-listener and the action is a Pro one, it should block (but I know it doesn't for now)