Buenos días, ¿como sería posible emular un envío de teclas? En la versión 2017 lo tenía hecho de esta manera:
IF ISCLEAR(WShell) THEN
IF NOT CREATE(WShell,TRUE,TRUE) THEN
EXIT;
WShell.SendKeys(‘+^{p}’);
Donde WShell es una variable de tipo “Automation” , subtipo “‘Windows Script Host Object Model’.WshShell”, pero me encuentro que no puedo crear variables de tipo “Automation” en VSCode.
Gracias de antemano