StreetDeck embends a WMP window. The class name for the main StreetDeck window is not constant. The window caption is though.
__________________
StreetDeck embends a WMP window. The class name for the main StreetDeck window is not constant. The window caption is though.
__________________
since I use soundblaster for the volume for all the programs, can I just use the ''soundblaster'' as the ID instead of each program like''WMPlayerApp'' and streetdeck since they all use the same sound device?
Ok, if the captio is constant, that is good and this should work. If the caption is "BLAH" then your window title string will be "BLAH::".
You cannot send keystrokes to a sound device... If it has a sound manager that runs in the system tray or something, then you can send to that, but you are back to needing the title and/or class name.
Let me know if you have the correct title, and I will permanently code it into the program to help further people.
Oh, and it is case sensitive.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
yes soundblaster is a program on my computer, it has an icon on the toolbar like all the other programs I run. its just like soundmax that come on the computer. I dont use that, I use the soundblaster for better sound then on-board audio. soundblaster is the master volume for all the programs. if I just put the ID for wmp, it would just adjust the volume within wmp and not the master volume. this way I can control volume on the steering wheel in any program. are you able to link several programs together?
I am not sure what you mean by link, but you can send multiple/any keys to multiple/any programs but one at a time. Just like a keyboard. If you have Microsoft Word and Internet Explorer open, and you push the "A" key, it only shows up in 1 window, not both. You can always push it twice with different focus's and get it to apply that "A" to multiple programs.
But to answer the "can I" part of sending it to soundblaster program, if you have it open, is there any key (A-Z, 0-9, Numlock, Arrows, not special function/media keys) that will make the volume go up and down? If so then the answer to is it possible is yes. if not, then the answer is no.
And I thoguht SD controlled the volume automatically from within itself? If you send the key to SD it is just like you pressed it on the keyboard...
Those keystrokes go to your operating system, which then controls the volume mapping directly. This is quite a bit more complicated then sending keystrokes. Suffice it to say, it is possible but not through the program at the current time.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
You just put multiple "do" statements.
So
And the window title area would just change to the respective program. The order they will be sent will be from top to bottom. So the "do" right under "then" will be first and the "do" right before "/then" will be last.Code:... <then> <do ...></do> <do ...></do> <do ...></do> </then> ...
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Bookmarks