Announcement

Collapse
No announcement yet.

SendKeys

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SendKeys

    Is it possible the sendkeys command was broken in the new version of RR?? Specifically, sendkey buttons to call diferent functions in iGuidance are not working. I though it was only in DFX5 but they don't work in several other skins (DFX4, iDriveT, Void).

    ????????????
    ****************************************
    OLD SYSTEM (DEAD)
    Intel D945GCLF2 Dual Core ATOM
    Lilliput 7" 629GL 2008 LED Backlight
    BU-353 USB GPS Receiver / iGuidance / IGO8
    M2-ATX Power Supply
    RideRunner Front End / Various Skins
    Windows XP SP3

  • #2
    nope, no change to that code...
    sendkeys only works if that window is the ACTIVE window for input
    to me sendkeys blows in all cases, very unreliable...

    in anycase, if you give me an example of real usage, i can test...

    and your going to tell me when you hit say "3d" in dfx5, it doesnt work...
    well it does for me and that seems to be a sendkey as per skintool

    SENDKEY;"{3}","

    infact they all work, BTW i never looked at DFX5's support for IG, NICE!
    Attached Files
    Last edited by mitchjs; 06-21-2012, 09:49 PM.
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #4
      brings up a point

      this is a better way

      ACTIVATE;IGuidance||SENDKEY;3

      add "ACTIVATE;IGuidance||" infront of all those commands, to ASSURE(well resonably assure) they actually go to IGuidance


      but you know, i can make a better SENDKEY Command...


      ALL THIS DOESNT apply, keep reading...
      Last edited by mitchjs; 06-21-2012, 11:27 PM.
      -Thanks
      Mitch
      www.rush2112.net

      "Did you test it in carwings??"

      Sun, Come shine my way
      May healing waters bury all my pain
      Wind, Carry me home
      The fabric of reality is tearing apart
      The piece of me that died
      Will return To live again

      Comment


      • #5
        it just gets more interesing look at this code

        If (InStr(1, CurSCR, "gps") <> 0 And LCase(GPS_NAME) = "iguidance") Then
        Activate iGhwnd
        SendKeys Key, True
        Else

        that means, DFX5 skin is flawed since its skin name is names "iguidance_wide" no where is "gps" in it...
        so it wont activate the iguance window!
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment


        • #6
          course i dont like any of that code, and will rewrite some of it
          -Thanks
          Mitch
          www.rush2112.net

          "Did you test it in carwings??"

          Sun, Come shine my way
          May healing waters bury all my pain
          Wind, Carry me home
          The fabric of reality is tearing apart
          The piece of me that died
          Will return To live again

          Comment


          • #7
            you know too, i see issues in DFX5 too...
            inconsistency

            external_gps, its going to work fine with the activate code

            but... for 3d it sends out

            B,2,77,72,71,"SENDKEY;"{3}",""

            where in the WIDE (iGuidance_wide.skin)

            B,196,1,99,70,"SENDKEY;3",""


            also see a dupped issue in wide

            DFX5 needs review

            for current code to focuse on IG

            the skin should be called

            iguidance_wide_gps.skin
            -Thanks
            Mitch
            www.rush2112.net

            "Did you test it in carwings??"

            Sun, Come shine my way
            May healing waters bury all my pain
            Wind, Carry me home
            The fabric of reality is tearing apart
            The piece of me that died
            Will return To live again

            Comment


            • #8
              NEW COMMAND

              SENDKEYX

              SENDKEYX;keys

              will send key, but 1st will target embedded window on current screen (in our example iguance) skin name not matter!!

              so... SENDKEYX;3

              will send the 3 key to the embedded app (in our case 3 is toggle 3d)

              also!!!

              SENDKEYX;keys;windowname

              you can with one command, activate a window, and then send keys to it (why you need to do this i dont know, but you can)
              Last edited by mitchjs; 06-21-2012, 11:13 PM.
              -Thanks
              Mitch
              www.rush2112.net

              "Did you test it in carwings??"

              Sun, Come shine my way
              May healing waters bury all my pain
              Wind, Carry me home
              The fabric of reality is tearing apart
              The piece of me that died
              Will return To live again

              Comment


              • #9
                Originally posted by Enforcer View Post
                I think the issue may be your recent enhanced embedding upgrade

                NOPE!

                the problem here is partial DFX5
                and well we dont know what else he really did
                -Thanks
                Mitch
                www.rush2112.net

                "Did you test it in carwings??"

                Sun, Come shine my way
                May healing waters bury all my pain
                Wind, Carry me home
                The fabric of reality is tearing apart
                The piece of me that died
                Will return To live again

                Comment


                • #10
                  simple fix up for now... if you dont get the new rr, and USE THE NEW MUCH IMPROVED sendkeyx is

                  fix the naming of the skin file to have _gps in it

                  so
                  like "IGUIDANCE_WIDE.skin" named "IGUIDANCE_WIDE_GPS.skin"

                  then a old sendkey will know that if the name has "gps" in it, and iguidance is the the GPS_NAME it will activate the iguidance window

                  OR

                  BETTER

                  get the new RR *6/21/2012 or newer

                  and change sendkey to sendkeyx

                  and fix up the skisn does {3} should be just 3 for 3d

                  m
                  -Thanks
                  Mitch
                  www.rush2112.net

                  "Did you test it in carwings??"

                  Sun, Come shine my way
                  May healing waters bury all my pain
                  Wind, Carry me home
                  The fabric of reality is tearing apart
                  The piece of me that died
                  Will return To live again

                  Comment


                  • #11
                    also

                    "ACTIVATE||SENDKEY;3"

                    would work... activate command acticvates the embedded window on current screen
                    so just adding that infront of any send key would work too
                    -Thanks
                    Mitch
                    www.rush2112.net

                    "Did you test it in carwings??"

                    Sun, Come shine my way
                    May healing waters bury all my pain
                    Wind, Carry me home
                    The fabric of reality is tearing apart
                    The piece of me that died
                    Will return To live again

                    Comment


                    • #12
                      good thing about the new sendkeyx, u can use it in SKINTOOL
                      the old one would try to send keys to skintool itself

                      so.. on the iguidance_wide.skin, in skintool, "SendKeyx;3" would activate ig and send 3, and keep it active!
                      (im debating if i want to return focus of its "skintool" just cause i love skintool!)
                      -Thanks
                      Mitch
                      www.rush2112.net

                      "Did you test it in carwings??"

                      Sun, Come shine my way
                      May healing waters bury all my pain
                      Wind, Carry me home
                      The fabric of reality is tearing apart
                      The piece of me that died
                      Will return To live again

                      Comment


                      • #13
                        also few errors in DFX5 skin (looking at wide now)

                        whats

                        B,1,1,95,70,"SENDKEY;"{enter}",""

                        it should be

                        B,1,1,95,70,"SENDKEY;{enter}",""

                        some oddball extra "

                        lots of clean up

                        and now should be SENDKEYX
                        Last edited by mitchjs; 06-21-2012, 11:48 PM.
                        -Thanks
                        Mitch
                        www.rush2112.net

                        "Did you test it in carwings??"

                        Sun, Come shine my way
                        May healing waters bury all my pain
                        Wind, Carry me home
                        The fabric of reality is tearing apart
                        The piece of me that died
                        Will return To live again

                        Comment


                        • #14
                          Thanks. Will test the changes and report back.

                          P.S. Got your PM.
                          ****************************************
                          OLD SYSTEM (DEAD)
                          Intel D945GCLF2 Dual Core ATOM
                          Lilliput 7" 629GL 2008 LED Backlight
                          BU-353 USB GPS Receiver / iGuidance / IGO8
                          M2-ATX Power Supply
                          RideRunner Front End / Various Skins
                          Windows XP SP3

                          Comment


                          • #15
                            Originally posted by mitchjs View Post
                            NOPE!

                            the problem here is partial DFX5
                            and well we dont know what else he really did

                            Well I'm basing on him mentioning it didn't work in the iDriveT skin when it used to.

                            Now I know the iDrive skins don't have activate before the sendkey (although the buttons for other nav engines do) they do have gps in the skin name.


                            (unless of course he didn't use the config in iDrive to change the Nav to iGuidance)

                            Comment

                            Working...
                            X