Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Status: Answered => Solved RaiMan changed the question status: solved: request bug created and there is workaround. -- You received this question notification because you are a member of Sikuli Drivers

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan proposed the following answer: ok, thanks. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: quoting: « ... it's just a test class i built for you to trie and reproduce ... » try ---> not trie :D -- You received this question notification because you are a membe

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan requested more information: *try?? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: *try -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. __

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: Oh ok, I thought the score was a match percentage. It would be nice if for every match (as in .find() or .findAll()) it would return a match percentage instead of just 1.00

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan proposed the following answer: Thanks for the tests and the docs. I will further try to find out, why this VDictProxy is loaded at all, if you do not use its features. --- when looking for "Hello" se

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-05-01 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: Tks RaiMan. By the way, if you want to try it yourself with the following code: (change notepad.exe to other App in your Mac) System.out.println("preloading");

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Linked to bug: #992009 https://bugs.launchpad.net/bugs/992009 "[request] Java: want a preload option for all or an individual library when a Java application launches" -- You received this ques

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan posted a new comment: Thanks for the feedback and evaluation. This looks weird. VDictProxy should not have anything to do with App.window(). Looks like a design bug. Nevertheless I will turn this que

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: Indeed, they work but when I call Region reg = someApp.window(), VDictProxy is already loaded but it takes 2/3 seconds to process the first call. If I use new App("").wind

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan proposed the following answer: I checked again (on my Mac): This does what you want: new Finder((new Screen()).capture(0,0,1,1), new Screen()); new VDictProxy(); TextRecognizer.getInstance(); additio

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread Filipe Alonso
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Filipe Alonso posted a new comment: Tks RaiMan, I just tried it but VDictProxy, for example, is loaded but not initialized and still has some delay when using dependent functions. Other calls to the NativeLo

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 RaiMan posted a new comment: Sorry, similar for VDictProxy VDictProxy preloadVDictProxy = new VDictProxy(); and for the system dependent OSUtil stuff: Win32Util preloadOSUtil = new Win32Util(); or MacUtil

Re: [Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-30 Thread RaiMan
Question #195190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195190 Status: Open => Answered RaiMan proposed the following answer: looking into the class Finder, this how they do it:: import com.wapmx.nativeutils.jniloader.NativeLoader; static { try{

[Sikuli-driver] [Question #195190]: Preload Sikuli vision engine, VDictProxy, etc in Java

2012-04-28 Thread Filipe Alonso
New question #195190 on Sikuli: https://answers.launchpad.net/sikuli/+question/195190 Hi, 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? Th