SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 1999
    Location
    Bothell,WA,USA
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any method to send the Windows key?

    Is there any method to send the Windows key to the window? Typekeys() does not seem to work.

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Rochester, NY, USA
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Any method to send the Windows key?

    To emulate the "Windows" key, use Taskbar.Start.Click().

    Of course, if you have an auto-hiding Taskbar, this code may fail. As with most SilkTest code, switching to new windows often fails because it is not the active window on the system. So to assure that you can always access the Windows Program Menu, add a Taskbar.SetActive() before the Click on the Start button.
    Andy Bachman

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Any method to send the Windows key?

    There currently is no "TypeKeys" parameter for the Windows key on the keyboard. The previous reply works for some usages of the Windows key, but if you are wanting to do something like <Windows-e> which invokes Windows Explorer (or something similar in your AUT) you simply cannot do it with Silk and won't be able to do it until Segue implements the Windows key for us.

    PS: The "menu" key (between the Windows and Ctrl keys on the right side of the keyboard) doesn't have a "name" to SIlk either.

 

 

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 03:46 AM.

Copyright BetaSoft Inc.