Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Jessica Nurzhan65380
2 discussion posts
Is there a way for voice bot to switch to a certain active process? I want to use this while I stream to turn up and down the volume on a specific program that requires you to click with the mouse as it uses youtube integration. The only way I have found out to make this work is to have it alt-tab, run mouse coordinate snap to where it should and double-click. I have not found a way to get it to alt-tab back to the game window. Now clicking on my chat and such it changes my last alt-tab in my list for my computer so I can't simply set it to alt-tab back or it just goes to a random program active on the system.
Jul 27, 2018  • #1
User Image
megawatt
8 discussion posts
I have this set up to switch to Chrome browser if it's not focused or if it's minimized. All you have to do here is to place the ".exe" file of the game where "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" is and replace it with yours.

Code

var appID = BFS.Application.GetAppIDByFile("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe");
                var appWindow = BFS.Application.GetMainWindowByAppID(appID);
                BFS.Window.Focus(appWindow);
Jul 28, 2018  • #2
User Image
Jessica Nurzhan65380
2 discussion posts
Quote:
I have this set up to switch to Chrome browser if it's not focused or if it's minimized. All you have to do here is to place the ".exe" file of the game where "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" is and replace it with yours.

Code

var appID = BFS.Application.GetAppIDByFile("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe");
                var appWindow = BFS.Application.GetMainWindowByAppID(appID);
                BFS.Window.Focus(appWindow);


Oh my gosh you are my hero that worked amazingly!!!!
Aug 1, 2018  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)