Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: programing in the Uber Edition.

  1. #11
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by customaudioman View Post
    I completed most of what you said I need. just questions about: <then>
    <do function="send key" functionTargetID="WINDOWTITLE" vote_opinion="KEYTOSEND" vote_priority="medium"></do>
    </then>
    so do I type in windows media player/streetdeck where ever it say '' windowtitle''?

    Quote Originally Posted by 2k1Toaster View Post
    As for window title, I have no idea. I dont have Streetdeck, I dont use Streetdeck, I have no idea.

    I dont know if StreetDeck opens WMP and sends instructions to it that way, or if it uses the WMP dll and doesnt actually open WMP.

    If it opens WMP, then send to WMP directly. I know the class name for WMP is "WMPlayerApp" so the functionTargetID would be "::WMPlayerApp". If SD doesnt open WMP, then you need to find the class name of StreetDeck. There is a program called Spy++ that I use to find window names and such. I am sure a quick email/PM to one of the SD team will tell you, or just run the program and use something like Spy++ to see the details.

    The vote_opinion is the keypress to do whatever. What button do you press for that function? If you press "D" on your keyboard and it plays Jingle Bells, then put "D" in for vote_opinion and when the above requirements are met, then Jingle Bells will play.
    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

  2. #12
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712


    StreetDeck embends a WMP window. The class name for the main StreetDeck window is not constant. The window caption is though.
    __________________

  3. #13
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712
    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?

  4. #14
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    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

  5. #15
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712
    Quote Originally Posted by 2k1Toaster View Post
    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.
    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?

  6. #16
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712
    Quote Originally Posted by 2k1Toaster View Post
    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.
    when I hit the vol up or + button on my computer the vol goes up and when I hit the down button or (-), the volume goes down. so what did you mean by it wouldnt work with ''keystrokes'' ?

  7. #17
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by customaudioman View Post
    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...

    Quote Originally Posted by customaudioman View Post
    when I hit the vol up or + button on my computer the vol goes up and when I hit the down button or (-), the volume goes down. so what did you mean by it wouldnt work with ''keystrokes'' ?
    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

  8. #18
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712
    Quote Originally Posted by 2k1Toaster View Post
    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...

    but some times I use wmp also, but i still want to use the steering wheel controls in that program also. see if I program the volume in streetdeck, it then it wouldnt work in wmp.

    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.

  9. #19
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    712
    Quote Originally Posted by 2k1Toaster View Post
    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.
    so whats the best way to send key strokes since I use multiple programs, not all at once but close one and open another?

  10. #20
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by customaudioman View Post
    so whats the best way to send key strokes since I use multiple programs, not all at once but close one and open another?
    You just put multiple "do" statements.

    So

    Code:
    ...
    <then>
      <do ...></do>
      <do ...></do>
      <do ...></do>
    </then>
    ...
    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.
    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

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Fusion Control Centre Uber Edition -- Need Testers
    By 2k1Toaster in forum FB Software
    Replies: 312
    Last Post: 06-12-2008, 03:29 PM
  2. XP Stripped to the Bone Edition
    By 65coupei6 in forum Operating System Optimization
    Replies: 1
    Last Post: 10-06-2006, 01:17 AM
  3. Replies: 1
    Last Post: 12-03-2005, 08:58 PM
  4. nLite Windows Media Edition
    By IntellaWorks in forum WinNT Based
    Replies: 3
    Last Post: 03-16-2005, 03:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •