Results 1 to 3 of 3

Thread: Keyboard Actions not working as expected

  1. #1
    Join Date
    Jun 2012
    Location
    Wabash, IN
    Posts
    102

    Default Keyboard Actions not working as expected

    Hi Ron or anyone else that can answer this. I am trying to control an application with keyboard shortcuts however it doesn't appear to be working. I tried the notepad example which shows using *o to trigger the open dialog however all it does it place an o in the document window. This leads me to believe the special keys aren't being parsed properly.

    In the app I'm working with I need to send Ctr+Shift+Right Arrow so I tried *^<RIGHT> as well as several other things and nothing worked.

    Any one know what I'm doing wrong or if there's a bug in Girder?

    Thanks,
    Casey
    Casey P.

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Keyboard emulation is something that windows doesn't directly support as such we have to fool application into thinking the keyboard is being used. This then means it won't work all of the time.

    1. Make sure you have the same bitness of application ( Girder comes in 32 and 64 bits, match your target application )
    2. Play with the targeting options
    3. Maybe "command capture" is able to help
    4. Are there alternative interfaces into the application?
    Ron
    No support through PM

  3. #3
    Join Date
    Jun 2012
    Location
    Wabash, IN
    Posts
    102

    Default

    Thanks for the reply Ron. Unfortunately my spam folder caught the forum notification you had replied.

    The only thing I found to work was to focus the app, fire the keyboard command, then switch back the the other app which I had to "hard code". It's not the most ideal solution but it works. Is there any way for girder to detect the focused window so you can return to it after focusing the app you want to control? It might be nice to have an action in Girder that can automate the process of focusing and app, applying the keyboard commands, then refocusing the previous app if that's possible.

    Thanks,
    Casey
    Casey P.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •