← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #280518]: Windows 10, Type not working properly

 

Question #280518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280518

Description changed to:
This works on Win7 with Sikuli 1.1.0:

App.open("C:\Windows\System32\cmd.exe")
type("copy /y ")

But does not work on Windows 10

[log] TYPE "copy /y "

[error] script [ Update_folders ] stopped with error in line 242
[error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Invalid key code )
[error] --- Traceback --- error source first line: module ( function ) statement 103: main ( backup_previousbuild ) type("copy /y ")
[error] --- Traceback --- end --------------

This is a script that is used crossplatform, so changing all TYPE to
PASTE does not work well on older platforms.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.