Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Hotkeys, SENDKEY and GETFOCUS

  1. #1
    Newbie
    Join Date
    Oct 2004
    Location
    Massachusetts
    Posts
    44

    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. #2
    FLAC J187's Avatar
    Join Date
    Nov 2004
    Location
    Boston
    Posts
    1,237
    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!

    Quote Originally Posted by ryuandwings View Post
    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.

  3. #3
    Newbie
    Join Date
    Oct 2004
    Location
    Massachusetts
    Posts
    44
    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

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    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."

  5. #5
    FLAC J187's Avatar
    Join Date
    Nov 2004
    Location
    Boston
    Posts
    1,237
    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!

    Quote Originally Posted by ryuandwings View Post
    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.

  6. #6
    Newbie
    Join Date
    Oct 2004
    Location
    Massachusetts
    Posts
    44
    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

  7. #7
    Newbie
    Join Date
    Oct 2004
    Location
    Massachusetts
    Posts
    44
    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

  8. #8
    kuo
    kuo is offline
    Variable Bitrate kuo's Avatar
    Join Date
    Jun 2003
    Location
    Greensboro, NC
    Posts
    439
    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

  9. #9
    ITL
    ITL is offline
    Maximum Bitrate ITL's Avatar
    Join Date
    Jul 2004
    Location
    Atlanta, GA
    Posts
    631
    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

  10. #10
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    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/rr-faq/
    mp3car live search

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

Page 1 of 2 12 LastLast

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
  •