Announcement

Collapse
No announcement yet.

Embedding and OSK questions

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

  • Embedding and OSK questions

    I’m trying to embed a stubborn app called USAPhotoMaps. By default, the app loads at full-screen and doesn’t allow for resizing. I have been unable to get it embedded using window search strings so I went in a different direction.

    The program can be controlled using keystrokes. For example “U” will switch to urban maps, “- and +” control zoom ect…

    I have created a new skin that launches the app with the OSK by setting two commands to one button (B,246,512,176,80,"LAUNCH||APPOSK",). The App will load and the OSK will show over it as seen below.



    The issue is that the Sendkeys and keystrokes from the OSK won’t control the app. Is there a RR command that would do so? I was also thinking of using a third “hotkey” program that would run in the background. Any ideas or help would be much appreciated.
    Beer is proof that God loves us and wants us to be happy — Benjamin Franklin

  • #2
    If you click on the USAPhotoMap (to set it on focus) does the sendkey work then ? If not, then you're out of luck.. I'll give it a try to embed it, but I can't guarantee anything.
    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


    • #3
      Yes, when USAPhotoMaps is highlighted, the send keys work!!!! The regular (K) keystrokes don't work but that's ok. I'll just have to go through and change all the keys to sendkeys.

      Now is there a way to auto select that app even though RR executes the OSK after the app is launched or should I just deal with it?
      Beer is proof that God loves us and wants us to be happy — Benjamin Franklin

      Comment


      • #4
        When RR launches an application it should automatically obtain focus. RR does not send any keys to it's own windows so the OSK is automatically "exclueded" from being considered "in-focus", so as long as the last application you ran was the USAPhotoMap, the sendkeys should work.

        There's a check 10 times per second to verify the current application on focus (other than RR), the sendkeys command will send the command to whichever was the last window on focus. The only way to make sure the window is on focus would be to successfully embed it.
        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
          figured it out... I created a button on the menu skin that launches the apposk and then the app.

          ("APPOSK||RUN;C:\Program Files\USAPhotoMaps\USAPhotoMaps.exe")

          The osk remains on top and USAPhotoMaps has window focus. See the first post for the updated jpg.

          Thanks guino for your time
          Beer is proof that God loves us and wants us to be happy — Benjamin Franklin

          Comment

          Working...
          X