← Back to team overview

sikuli-driver team mailing list archive

[Question #225053]: Type Java API does not work when used in Java swing

 

New question #225053 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225053

Hi,

I am trying to use Sikuli stand alone in Java swing. When i was calling the sikuli java api directly i was getting an exception. After doing some google i found that i need to use the apis in thread. So i created a seperate thread for each sikuli api like click and type and used it in bloacking queue. When i call the new type functions say TypeAction by clicking a button in java swing the function stops abruptly in the sikuli type function. I dont get any exception or error. When i call the new TypeAction function via main() the entire function works as expected. In the new TypeAction function i search of nearby 50px region and then click and type. For click i use the first argument of sikuli's type function.

Can anyone help me with this issue?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.