Cyberpunk receives left arrow instead of right arrow when send through VBScript

+
This is a follow-up to this thread

in short, virtual input created through VBScript's SendKeys is incorrectly interpreted by Cyberpunk 2077.

Platform: windows 10, steam, v1.23

Steps to reproduce:
  1. launch Cyberpunk 2077, load game and open inventory and select some item(or any UI that user can move with horizontal arrow keys)
  2. run sendkey.vbs(for example from shell: cscript sendkey.vbs)
  3. go back to game, wait few seconds and observe as {RIGHT} key is interpreted as left arrow key
It should be noted that other keys that I tested worked correctly({LEFT}, {UP}, {DOWN}, {ENTER}, {ESCAPE})

sendkey.vbs content:
Set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 5000
WshShell.SendKeys "{RIGHT}"


Why not just use AutoHotkey or other automation tool? AutoHotkey uses GPLv2 license and I can't redistribute it, other tools might not work with GeForceNow, and this is as close to native capabilities to send virtual input on Windows 10 that I could find.

Thanks in advance.
 

Attachments

  • sendkey.zip
    243 bytes · Views: 75
Last edited:
I have no experience with issues like that, so unfortunately I can‘t add anything to this conversation. Still, you can always reach out to CDPR support and make them aware of it:

 
Top Bottom