sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09953
Re: [Question #193924]: chance clickpoints on Eclipse
Question #193924 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193924
Status: Open => Answered
RaiMan proposed the following answer:
--- for the Java API look:
http://sikuli.org/doc/java-x/
--- s.type(bfi, adresse, 127); i can say only the X coordinates, but not Y coordinates?
type does not accept any X coordinates.
The general signature is:
public <PSRML> int type(PSRML target, java.lang.String text)
where target denotes the location to click as a (PS) text or image to
search, whose match target offset (standard center) is used to click, or
(R) a region, whose center is clicked or (M) a match (same as image, but
no search) or (L) Location (x,y) coordinate. after the click is done,
the text is typed.
This is the same as in the IDE, but in Java you have to specify a screen
or region object as xxxx.type()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.