Page 4 of 4 FirstFirst 1234
Results 31 to 35 of 35

Thread: programing in the Uber Edition.

  1. #31
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    Quote Originally Posted by 2k1Toaster View Post
    "captio" is a typo for "caption" which means the window title as seen by Windows OS.

    If the title bar for streetdeck says "streetdeck" then yes that should work. Reason I say should is because there are also things called "child windows". Best way I can explain child windows is by relating it to Microsoft Word or Adobe Photoshop. You can open many documents, all contained in the big window. So for photoshop, you can open "image1.jpg" and "image2.jpg" at the same time. These images will move with the main photoshop window. You can resize, minimize, and maximize the "image1.jpg" and "image2.jpg" windows all within the main "photoshop" window. If you minimize photoshop, those child windows "image1.jpg" and "image2.jpg" will be minimized as well. That is because their parent is photoshop, and photoshop's children (child windows) are those image windows.

    So in streetdeck, it seems as if there is only 1 window. But I do not know for sure, as I again do not use Streetdeck. But from my understanding of the program, it should work.

    Also if the title is "Streetdeck" instead of "streetdeck" it does make a difference (case sensitive).
    I talked to godofcpu, he said it not going to be a constant class name. So I was woundering, cant I just program it like a keyboard? Like hit ""enter"" is like hitting the mode button on the steering wheel to speak reconigtion in streetdeck in streetdeck it has over 300 gesturing modules that cab=n be program from the keyboard. If I hit enter while using streetdeck, it does voice activation. But out side of streetdeck, it would be just the regular enter. so what class would I use? winxp?

  2. #32
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by customaudioman View Post
    I talked to godofcpu, he said it not going to be a constant class name. So I was woundering, cant I just program it like a keyboard? Like hit ""enter"" is like hitting the mode button on the steering wheel to speak reconigtion in streetdeck in streetdeck it has over 300 gesturing modules that cab=n be program from the keyboard. If I hit enter while using streetdeck, it does voice activation. But out side of streetdeck, it would be just the regular enter. so what class would I use? winxp?
    Yes that is exactly what will be happening here. But like the above example with Word and Internet explorer, your keypresses on the keyboard go to the active or focused window. So you can tell the program to press enter, but if StreetDeck is not ontop, it wont work. So I have not included that because it is useless. You dont want to program something that will work sometimes, it has to work all the time.

    And if the class changes, no problem. If the title is constant it is just as above. I am working on an installer to get the uber edition up on your computer as well.
    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

  3. #33
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    Quote Originally Posted by 2k1Toaster View Post
    Yes that is exactly what will be happening here. But like the above example with Word and Internet explorer, your keypresses on the keyboard go to the active or focused window. So you can tell the program to press enter, but if StreetDeck is not ontop, it wont work. So I have not included that because it is useless. You dont want to program something that will work sometimes, it has to work all the time.

    And if the class changes, no problem. If the title is constant it is just as above. I am working on an installer to get the uber edition up on your computer as well.
    so in streetdeck the title in the window is constant, which the name is ''streetdeck''. but not the class is not constant , changes evey time I open the window. Can I use ''streetdeck'' as the funtion targetID since its constant title? Also while in streetdeck, it never changes window. It stays streetdeck even if I go to nav,music,video,digital mods and so on...

  4. #34
    Newbie
    Join Date
    Dec 2007
    Location
    Victoria, Australia
    Posts
    21

    Question

    Quote Originally Posted by 2k1Toaster View Post
    Open up "FusionConfiguration.xml". You can open it in almost any program. Notepad will work, but you wont get any of the cool XML formatting and error checking options. If you miss a quote mark ( " ) the entire XML will error out. Miss required whitespace, the whole XML will error out. Miss an opening or closing tag symbol (> or <) and the whole XML file will error out.

    So I suggest you use a proper XML editing program unless you know what you are doing.

    I think even Office products open xml files now, and there are a ton of programs free to downoad that will work too.

    Basically setup an analogue input in the`"io" section. Then a simple "if greater than x and less than y then do z" is like this:

    Code:
          <if fire_on="logic">
            <parameter1>
              <if>
                <parameter1>
                  <analogue id="Steering Wheel Buttons" time="0"></analogue>
                </parameter1>
                <test check="greater than or equal to"></test>
                <parameter2>
                  <number>X</number>
                </parameter2>
              </if>
            </parameter1>
            <test check="AND"></test>
            <parameter2>
              <if>
                <parameter1>
                  <analogue id="Steering Wheel Buttons" time="0"></analogue>
                </parameter1>
                <test check="less than or equal to"></test>
                <parameter2>
                  <number>Y</number>
                </parameter2>
              </if>
            </parameter2>
            <then>
              <do function="send key" functionTargetID="WINDOWTITLE" vote_opinion="KEYTOSEND" vote_priority="medium"></do>
            </then>
          </if>
    obviously you have to replace X, Y, and then the WINDOWTITLE and KEYTOSEND with actual values. If you are using Winamp/RoadRunner, then just put "winamp" in for the window title and it will automatically fill that in. Otherwise, you will need the window title and/or class name of the program. The syntax is "TITLE::CLASS" but if there is a subtitle and subclass, then it is "TITLE::CLASS::SUBTITLE::SUBCLASS".
    KEYTOSEND
    Does:
    CTRL::F send "CTRL+F"
    CTRL::ALT::F send "CTRL+ALT+F"
    F10 send "F10" keystroke

    functionTargetID="centafuse"
    will send keystroke to application with windows title "centrafuse"

    TITLE::CLASS::SUBTITLE::SUBCLASS
    How do you find the class name of a program?

    thanks again

  5. #35
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by vultan View Post
    KEYTOSEND
    Does:
    CTRL::F send "CTRL+F"
    CTRL::ALT::F send "CTRL+ALT+F"
    F10 send "F10" keystroke

    functionTargetID="centafuse"
    will send keystroke to application with windows title "centrafuse"

    TITLE::CLASS::SUBTITLE::SUBCLASS
    How do you find the class name of a program?

    thanks again
    I answered your questions in the other thread.
    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 4 of 4 FirstFirst 1234

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
  •