Forum Discussion

shiva_ranabhat's avatar
shiva_ranabhat
Contributor
9 years ago

Simulating keypress Alt+o not working

According to this article: https://support.smartbear.com/viewarticle/55009/ [Alto] should simulate Alt+O.

 

Please correct me! 

Jscript language:

 

Sys.Desktop.Keys("[Alto]");

or

Sys.Desktop.Keys("[Hold][Alto]");

 

Neither of them works. I want to open the download by pressing Alt and O. 

 

Thanks

 

 

7 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Going by that page, I believe what you want is 

     

    Sys.Desktop.Keys("~[O]");

    • shiva_ranabhat's avatar
      shiva_ranabhat
      Contributor

      No that doesn't work. I think it is pressing Alt and O separately because I can see the toolbar in IE.

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Then next I would try

         

        Sys.Desktop.Keys("[Hold}~[O]");