Re: [Sikuli-driver] [Question #692749]: Not supported character in keyDown()

2020-09-05 Thread Mychajlo Chodorev
Question #692749 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692749

Mychajlo Chodorev confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692749]: Not supported character in keyDown()

2020-09-05 Thread Mychajlo Chodorev
Question #692749 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692749

Status: Answered => Solved

Mychajlo Chodorev confirmed that the question is solved:
Indeed I had active non-latin keyboard layout. When latin but non-English 
layout is active everything is ok. So only non-latin one causes problem. 
Thank you

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692696]: SikuliX wrong resolution Windows 10

2020-09-05 Thread Mychajlo Chodorev
Question #692696 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692696

Status: Answered => Solved

Mychajlo Chodorev confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692762]: 'App' object has no attribute 'getWindow'

2020-09-05 Thread Mychajlo Chodorev
Question #692762 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692762

Status: Answered => Solved

Mychajlo Chodorev confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692749]: Not supported character in keyDown()

2020-09-05 Thread Mychajlo Chodorev
Question #692749 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692749

Mychajlo Chodorev posted a new comment:
Same error was for type('s', Key.CTRL). But after several restarts the
problem has gone. Weird...

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #692762]: 'App' object has no attribute 'getWindow'

2020-09-05 Thread Mychajlo Chodorev
New question #692762 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692762

I'm trying to wait for appeared Save As dialog window. For that I want to use 
App.getWindow(). However when I run it I get following error:
[error] AttributeError ( 'App' object has no attribute 'getWindow' )



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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #692749]: Not supported character in type()

2020-09-04 Thread Mychajlo Chodorev
New question #692749 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692749

I'm writing a script to automatize saving of the web page. So I try to send 
Ctrl+s with keyDown(). It seemed to work but now I'm getting an error:

> [error] java.lang.IllegalArgumentException ( 
> java.lang.IllegalArgumentException: Key: Not supported character: s )
> [error] --- Traceback --- error source first
> line: module ( function ) statement
> 17: main (   ) keyDown(Key.CTRL + "s")
> [error] --- Traceback --- end --

I tried to run it both in IDE and command line with same result.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692696]: SikuliX wrong resolution Windows 10

2020-09-04 Thread Mychajlo Chodorev
Question #692696 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692696

Status: Answered => Open

Mychajlo Chodorev is still having a problem:
Indeed change of scale to 100% from 150% did help. 
However that would mean I have to change scaling every time I start SikuliX 
script. 
I understand the workaround would be to change JRE version. Where do I find 
one? Is it official Oracle's one or some other?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692696]: SikuliX wrong resolution Windows 10

2020-09-01 Thread Mychajlo Chodorev
Question #692696 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692696

Mychajlo Chodorev posted a new comment:
I'm not sure about Java version. 
The java.com states this about latest download:

Recommended Version 8 Update 261
Release date July 14, 2020

There is no mention of Java 9, 10 or 11. So I'm a bit lost in versioning

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #692696]: SikuliX wrong resolution Windows 10

2020-09-01 Thread Mychajlo Chodorev
Question #692696 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692696

Mychajlo Chodorev gave more information on the question:
Running same script in virtual Windows 2012 R2 via RDP with same
resolution (1920x1080) works fine

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #692696]: SikuliX wrong resolution Windows 10

2020-09-01 Thread Mychajlo Chodorev
New question #692696 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692696

Hi all.
I've downloaded and started SikuliX 2.0.4 on my Windows 10 laptop. The screen 
resolution is 1920x1080. When I try to make a screenshot the screen's 
resolution is changed to smaller one so I can't capture topmost right corner. 
If I capture required part of the screen with external tool and refer captured 
file I get following error:

[error] FindFailed ( next.png: (33x33) in R[0,0 1280x720]@S(0) )

How do I make it to use proper resolution?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1852823] Re: [2.0.0] An error occurs if you execute the type command without opening the IDE

2020-01-08 Thread Mychajlo Chodorev
I had same issue. It can be due to wrong active keyboard layout. I had
the issue when I tried to type('s', Key.CTRL) whilst Ukrainian layout
was active, which has no latin symbols

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1852823

Title:
  [2.0.0] An error occurs if you execute the type command without
  opening the IDE

Status in Sikuli:
  New

Bug description:
  Hello.
  Executing the following script from the command line results in an error.
  It runs normally when run from the IDE.
  How can I solve it?

  
  Environment:
  
  OS Version: Windows 10 Home 1809(17763.864)
  Sikuli version: 2.0.0
  Java version: openjdk version "12.0.2" 2019-07-16

  
  Script:(sikulix-test.sikuli ---> sikulix-test.py)
  -
  1  type('r', Key.WIN)

  
  Run Command:
  
  C:\projects\sikulix-test>java -jar C:\sikulix\sikulix-2.0.0.jar -r 
sikulix-test.sikuli

  
  Output:
  ---
  [log] ( メタ )  TYPE "r"
  [error] script [ sikulix-test ] stopped with error in line 1
  [error] java.lang.IllegalArgumentException ( 
java.lang.IllegalArgumentException: Key: Not supported character: r )
  [error] --- Traceback --- error source first
  line: module ( function ) statement
  1: main (   ) type('r', Key.WIN)
  [error] --- Traceback --- end --

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1852823/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp