Forum Discussion

luisanillo's avatar
luisanillo
Occasional Contributor
6 years ago

Keys Method - Holding [ALT] while pressing twice the same key

Hi guys,   I have an issue when holding a certain key and pressing another key multiple times, during the same combination.   At the moment, I have an object and I try to hold [ALT] while pre...
  • tristaanogre's avatar
    6 years ago

    IF there is an additional window that comes up, potentially masking the window that you're interacting against, that is exactly the expected behavior.  Unexpected window triggers when an action is attempted but there is another window that comes up.

    If there is no need to specifically send these keystrokes to the specific window, you could simply send the Keys action to Sys.Desktop.  That will simply interact with the desktop itself.

     

    Alternatlvely, you could attempt to use LLPlayer.KeyDown and LLPlayer.KeyUp to simulate the desired actions.