Title

Message

Confirm

Want to earn a free VoiceBot Pro license? We're looking for VoiceBot translators!
<< DiscussionsReply

Multiple programs controlled by one profile

Avatar from Gravatar.com
DawnTreader
6 discussion posts
Hello

Is there a way to have one profile control multiple programs. For instance I have a Elite:Dangerous profile but I would like to direct certain commands to iTunes while I am flying my ship around the galaxy. It would be nice if I could direct each command to one program or another.
Oct 7, 2017  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Unfortunately it's only possible to send input to the currently focused program, this is a Windows limitation
Oct 10, 2017  • #2
Avatar from Gravatar.com
Pacheon
2 discussion posts
I've actually managed using my VoiceBot profile for multiple programs which were running simultaneously with different focus.
Settings -> Configuration -> Profile Marco Actions -> Only run macros on associated application (standard) was also checked, so no issues there.

I did the following at the "Associate this profile with a specific program:", just entered 2 different .exes as per "game.exe|tool.exe". First of all, the tool, which is not fullscreen and will be behind the game rendering window, should be pinned to your task bar (same for the game, for switching back).

By saying "activate slow mo", the tool should go either by some advanced commands (like outta focus key-combo shortcuts like CTRL+NUM1) or the simple way:
* press Windows+3 for 25ms (focuses the tool)
* aim with mouse at X and Y coord.,
* leftclick once,
* windows+4 to return back to your game

It works just fine for me. :)
Oct 10, 2017 (modified Oct 10, 2017)  • #3
Avatar from Gravatar.com
DAB42
30 discussion posts
I use it with elite dangerous and start vlc playing a stream and use CMLcontrol to control vlc from one script

Need to use this macro to start vls and return focus to elite ,

Code



I am sure this could be improved on as I don’t know how to code in c# , just pieced this together from online help
Jul 9, 2018  • #4
Avatar from Gravatar.com
DawnTreader
6 discussion posts
Hello Dab42

Thank you. Thank you, Thank you.

That was exactly what I was looking for.

This tells iTunes to play the next song in the playlist:

Code



And a variation for the controlling the volume:

Code



Although I probably could tell it to loop to get the 5 increments to volume down...
Jul 10, 2018  • #5
Avatar from Gravatar.com
DAB42
30 discussion posts
I use command line media to control volume, track , pause and play with no need to change focus, works with Itunes, Spotify, Windows Media Player and vlc you get it from

https://github.com/InvalidCastEx/CommandLineMedia/blob/master/docs/Documentation.md

Next track

BFS.Application.Start("C:\\Program Files (x86)\\VideoLAN\\VLC\\CLMControl.exe ", " vlc -nt");

Volume up
BFS.Application.Start("C:\\Program Files (x86)\\VideoLAN\\VLC\\CLMControl.exe ", " vlc -vu -vu ");
Jul 10, 2018  • #6
Was this helpful?  Login to Vote(1)  Login to Vote
<< DiscussionsReply