sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53021
[Bug 992009] Re: [request] Java: want a preload option for all or an individual library when a Java application launches --- workaround
** Changed in: sikuli
Milestone: 1.1.4 => 2.1.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/992009
Title:
[request] Java: want a preload option for all or an individual library
when a Java application launches --- workaround
Status in Sikuli:
In Progress
Bug description:
*** workaround
put the following code at the beginning.
It will force preload all stuff.
new Finder((new Screen()).capture(0,0,1,1), new Screen());
new App("").window();
TextRecognizer.getInstance();
or even shorter:
new App("").window();
TextRecognizer.getInstance();
(source: https://launchpad.net/~filipe-alonso)
------------------------------------------------------
this is based on the related question:
Is there any embed function in sikuli-script to preload all or an
individual library when a Java application launches so that one
doesn't experience loading delay at first calls on depending
functions?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/992009/+subscriptions
References