SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Guest

    Hot keys for opening child windows in an app are not working with TypeKeys method

    I have a C++ application with push buttons on it. When I click on each of these buttons using mouse it opens an application.

    I have a test where I have to validate whether the applications can be invoked using HotKeys from the C++ app instead of mouse click on the button.

    When I manually tried the HotKeys it works fine. Example: When I try "<Ctrl-Shift-F1>", it opens first application.

    I tried the following combinations and was unsuccessful.

    Any suggestions?

    Thanks in advance for your help!

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    Compile the test. Open Record/Actions, perform a hot key sequence, then compare what you've coded to what Silk wrote.

    John


    ------------------

  3. #3
    Guest

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    I tried recording the actions and here is the code...

    While recording the actions Silk recorded the above code. When I ran the script, the script is passed without any errors but the app was never invoked. But, when I do the same manually the app gets invoked.

  4. #4
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    I found similar problem with Microsoft Anti-Virus Outlook exchange.

    See the dialogbox, but can't dismiss it.



    ------------------

  5. #5
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    Try this form:


    John

    ------------------


    [This message has been edited by John J. Miller (edited 12-06-2002).]

    [This message has been edited by John J. Miller (edited 12-06-2002).]

  6. #6
    Guest

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    This is Great! It works perfect with this code.

    Thanks a lot John.

  7. #7
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    How come that agent option has any effect on a TypeKeys command? The manual reckons it should only have an effect on low-level mouse actions?

    ------------------

  8. #8
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by vincebowdren:
    How come that agent option has any effect on a TypeKeys command?<HR></BLOCKQUOTE>

    I don't know the specifics of why it works but it apparently puts Silk into some sort of "raw mode" as far as keyboard entry is concerned. Last April I was having difficulty with TypeKeys with accelerator sequences (57759). This was Segue Support's solution for that problem. They also suggested that the setting be returned to normal immediately after, hence the withoptions block.


    John


    ------------------

  9. #9
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    I checked this method against Anti-virus and works too.

    Thanks, guys.

    Mhwee

    ------------------

  10. #10
    Junior Member
    Join Date
    Nov 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Hot keys for opening child windows in an app are not working with TypeKeys method

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by John J. Miller:
    I don't know the specifics of why it works but it apparently puts Silk into some sort of "raw mode" as far as keyboard entry is concerned. <HR></BLOCKQUOTE>

    If you look at http://support.segue.com/kb.php?q=1198,628

    The first KB link is the document to which you refer. If you want to really get into the internals of TypeKeys for complex key typing (e.g. hold down left ALT, press shift, press PrintScreen, release printscreen, release shift, release alt) then the second KB link will give you all you need.

    Hope this helps.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:03 PM.

Copyright BetaSoft Inc.