tradt / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

How to create an object of SikuliAction class and use it's methods in java #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I want to create the SikuliAction class object.
SikuliAction sa = new SikuliAction(SikuliAction.ActionType type, Region source, 
PSC target, ScreenImage screenImage, Match match) ... to create this object 
requires 4 argument in this first argument is the nested class in protected....

SikuliAction sa = new SikuliAction(SikuliAction.ActionType type, new Screen(), 
img1,img, match);
what should be provided in the first argument,,,.,,.....

What version of the product are you using? On what operating system?
latest Sikuli and windows 7 os

Please provide any additional information below.
In the creation of the object requires the enum constant that will not be 
possible because that enum is protected one...

Original issue reported on code.google.com by shivasel...@gmail.com on 2 Jan 2013 at 11:58

GoogleCodeExporter commented 9 years ago
SikuliAction is in the old Sikuli API which is not available for this new 
Sikuli API. 

What do you wish to accomplish using a SikuliAction object? We may be able to 
point you to an alternative method possible with the new API.

Original comment by doubles...@gmail.com on 2 Jan 2013 at 4:29

GoogleCodeExporter commented 9 years ago
How to use the sikuli action gettext command (for getting text from a image) in 
new sikuli-api?

Original comment by karthick...@gmail.com on 28 Jan 2013 at 10:18

GoogleCodeExporter commented 9 years ago
gettext command is not supported in the new sikuli api.

Original comment by doubles...@gmail.com on 13 Jun 2013 at 8:03