Announcement

Collapse
No announcement yet.

Hotkeys, SENDKEY and GETFOCUS

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

  • Hotkeys, SENDKEY and GETFOCUS

    I know that I am opening myself up to the dreaded "SEARCH" reply but:

    Goal: To have a set of hotkeys on the side of my monitor that will always control iGuidance. Example: Zoom in/out with the up/down buttons

    Problem: Although this appears to be a "mostly" built-in function, the hotkeys only work when iGuidance in in focus. For example, the first time I press navigation, everything works fine and I get the desired zoom in/out from the keyboard. However, when I leave that screen for any other (say music) and come back, the keyboard arrow up and down do not zoom in/out until I press on the screen (mouse click). After I press on the screen, the keyboard keys control the screen again. TO BE CLEAR: it loses focus on the second and subsequent times I get to the navigation screen, the first time is ok. THis is why I think that this is a focus issue.

    Question: How do I "automatically" put iGuidance in focus whenever I start the GPS screen?

    Failed attempts: Before you tell me to do so, I have found the KeyTBL.ini file and I've tried adding lines like
    38,"SENDKEY;{up}||GETFOCUS"

    If it matters, I'm using Zots skin (thanks Zots, this skin rocks!! )
    Epia MII 10000 512MB RAM - 60 GB 2.5" Hard Drive -Opus 90 - Lilliput 7" Touchscreen - Panasonic 8123 Slotload DVD burner - PCMCIA USB2.0 Card - Rikaline 6010 GPS - PS2 Micro Keyboard

  • #2
    My iguidance loses focus too. Perhaps there is a fix for it, but It doesn't bother me all that much for 2 reasons.
    1. I skinned audio controls onto my GPS skin so I do not have to leave the screen to control my audio usually.
    2. It really doesn't bother me much to have to touch somewhere in the screen when I reload the window.
    Its not the cards you're dealt, its how you play the hand!

    Originally posted by ryuandwings
    Where can I get a roll of tin foil?
    I been looking for that all over the net, but I can't find it.
    Please help.

    Comment


    • #3
      yeah, it's not a HUGE problem, I just wanted to buttons to work without the screen touch (basically, the buttons are there for when I can barely see the screen). I know that if I can barely see the navigation screen then GPS isn't so useful, but what about other applications which use hotkeys (I want to make a carputer with no Touchscreen, clicking is something I want to avoid).
      Epia MII 10000 512MB RAM - 60 GB 2.5" Hard Drive -Opus 90 - Lilliput 7" Touchscreen - Panasonic 8123 Slotload DVD burner - PCMCIA USB2.0 Card - Rikaline 6010 GPS - PS2 Micro Keyboard

      Comment


      • #4
        Just add: ACTIVATE;<WINDOWTITLE> in front of every sendkey command:

        38,"ACTIVATE;IGuidance||SENDKEY;{up}||GETFOCUS"
        Ride Runner RR's Myspace

        "Being happy is not about having what you want, it's about wanting what you have."
        "The best things in life are always free - but that doesn't mean money can't buy you good things."

        Comment


        • #5
          Activate command works nicely. I find that I only have to add it to my GPS button to make it work. After that, iguidance never loses focus. I use Getfocus commands at the end of every sendkey command as well.
          Its not the cards you're dealt, its how you play the hand!

          Originally posted by ryuandwings
          Where can I get a roll of tin foil?
          I been looking for that all over the net, but I can't find it.
          Please help.

          Comment


          • #6
            Hmmm, for some reason I just can't get things to work.
            a few trouble spots I'm seeing
            1. I have tried every permutation of <windowname> I can think of iGuidance,IGuidance,iguidance, Routis but nothing seems to work with ACTIVATE. (that last one was because Zots skin uses iGskinner and this is the command I have in my RRconfig)

            2. The sendkey doesn't work at all if I choose any buttons other than up/down arrows for the zoom in/out. ex, if I wanted a and b to send {up} and {down}, IGuidance doesn't respond, but it still responds to the arrows.

            3. J187, could you show the line from your .skin file that seems to bypass doing the ACTIVATE command in keyTBL.ini?

            thanks guys, I know that I have to be screwing up something painfully simple.
            Epia MII 10000 512MB RAM - 60 GB 2.5" Hard Drive -Opus 90 - Lilliput 7" Touchscreen - Panasonic 8123 Slotload DVD burner - PCMCIA USB2.0 Card - Rikaline 6010 GPS - PS2 Micro Keyboard

            Comment


            • #7
              ok, I don't want this thread to die before the problem is solved, so here is an update:

              Guino's command (post #4)works beautifully if I have my GPS program set to iGuidance in RRconfig. HOWEVER, I can't get any response when I use iGSkinner (or the newer Skinbedder). Are there window names that I'm missing (Winspector spy doesn't give me any windowname information on iGSkinner). Someone has to have this working...
              Epia MII 10000 512MB RAM - 60 GB 2.5" Hard Drive -Opus 90 - Lilliput 7" Touchscreen - Panasonic 8123 Slotload DVD burner - PCMCIA USB2.0 Card - Rikaline 6010 GPS - PS2 Micro Keyboard

              Comment


              • #8
                i tried the same thing. i don't think igskinner and skinbedder pass the sendkeys on to the iguidance window that is embedded. might want to go in the skinbedder forum about this.
                my car: 2003 g35 coupe, 2.5ghz c2d cpu, gigabyte micro atx mb, dsatx
                wife's car: 2004 honda accord coupe 2.4ghz p4 cpu, asus micro atx mb, opus 150
                company car: 2006 chevy avalanche 2.0ghz p4 laptop, cnx p1900

                Comment


                • #9
                  this SENDKEYS stuff seems really buggy to me...some buttons work and some don't...

                  I'm using the EXTERNAL_GPS.skin from zots with iGuidance. I've found a few sequences of user interaction that just completely close iG all together. I can repeat it every time, but can't figure out what the deal is. Anyone know if there is a suitable alternative to using SENDKEYS for iGuidance interaction? This just isn't cutting it. I tried iGmod, but it seemed a bit flaky as well.

                  I like the interaction that iGmod provides, but I prefer the look and feel of the zots GPS skin better....just can't stand the SENDKEYS part of it
                  CarPC #3: 99% Complete
                  Pentium M 1.7Ghz, 1GB DDR2 RAM
                  DVD/CD-RW installed in dash below monitor
                  OEM LCD relocated for 7" Touchscreen
                  Wi-Fi, GPS, PS2 controllers...
                  500+ full albums
                  4,000+ video games
                  music videos, movies, & more!
                  old carPC

                  Comment


                  • #10
                    been having the exact same issues and trying to find a solution also.
                    The sendkeys command in RR I think is ok and does what its supposed to do, the problem is when IG is embeded in another app, skinbedder,igskinner etc they arent sending the keys through to the embeded apps. And in skinbedders case, it even hides the IG window and only the process shows up in the taskmanager.

                    I think when the next version of RR is released the problem will be solved as you wont need skinbedder etc, as RR will embed IG natively and remove the titlebars etc. So the command in post4 from guino will work better as there is no otehr app inbetween getting in the way.
                    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
                    01101101 01101111 01101011 01100101

                    beer replenishment fund
                    http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
                    mp3car live search

                    i have joost invites, just hit me up for one.

                    Comment


                    • #11
                      Originally posted by liquid_smoke
                      been having the exact same issues and trying to find a solution also.
                      The sendkeys command in RR I think is ok and does what its supposed to do, the problem is when IG is embeded in another app, skinbedder,igskinner etc they arent sending the keys through to the embeded apps. And in skinbedders case, it even hides the IG window and only the process shows up in the taskmanager.

                      I think when the next version of RR is released the problem will be solved as you wont need skinbedder etc, as RR will embed IG natively and remove the titlebars etc. So the command in post4 from guino will work better as there is no otehr app inbetween getting in the way.
                      that would be great to have it resolved in the next version. I'm not using skinbedder. I haven't even had a chance to check it out, yet. At the moment, using iGmod if not only for the OSK. But I do like zots' functionality of buttons for the various shortcuts.

                      One issue I recall is the Enter Address button. In the iG help, it plainly shows the correct keystroke, which i believe is {a}; however, it won't work when launched from RR, though it DOES work with just iG open. I changed the SENDKEY command from {a} to 4 {ENTER}s and it worked that way, though it's definitely messier.
                      CarPC #3: 99% Complete
                      Pentium M 1.7Ghz, 1GB DDR2 RAM
                      DVD/CD-RW installed in dash below monitor
                      OEM LCD relocated for 7" Touchscreen
                      Wi-Fi, GPS, PS2 controllers...
                      500+ full albums
                      4,000+ video games
                      music videos, movies, & more!
                      old carPC

                      Comment

                      Working...
                      X