Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1017974 // simulateKeyPress

JavaX fragment (include)

static void simulateKeyPress(int keyCode) {
  awtRobot().keyPress(keyCode);
  awtRobot().keyRelease(keyCode);
}

Author comment

Began life as a copy of #1010755

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017974
Snippet name: simulateKeyPress
Eternal ID of this version: #1017974/1
Text MD5: c491129a27d795feb7a0965a489f3cef
Author: stefan
Category: javax / automation
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-23 20:59:46
Source code size: 114 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 250 / 294
Referenced in: [show references]