Re: [Sikuli-driver] [Question #243260]: Action performs but does not display enything on the GUI

2014-02-05 Thread obiwan-92
Question #243260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243260

Status: Open => Answered

obiwan-92 proposed the following answer:
Hello, 
Try to add some "sleep" function in your code.
Just to be sure if it find the correct image.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread Test
New question #243323 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243323

Hey there,

Is it possible to import a .skl file? I understand that the .skl file is a 
compressed version of the .sikuli file.

I have a requirement to mask the code found in the .sikuli file as well as the 
images, hence bringing in a .skl file into the picture. However, the main 
script I'm running needs to IMPORT the .skl file. Is that possible?

If it is, how do I go about doing it?

If it isn't - what is a workaround I can employ to achieve this?

At present, what I'm thinking of is to password-protect a zip file, then unzip 
it with python, import the script and delete the unzipped file.

P.S. I'm pretty sure you can reverse engineer the .skl file and even break 
through workaround I'm thinking of right now, but if the user wishes to go to 
that length to get the script, they can have it. This is just a precautionary 
measure to discourage the average user.

Thanks.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread Test
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

Description changed to:
Hey there,

Is it possible to import a .skl file? I understand that the .skl file is
a compressed version of the .sikuli file.

I have a requirement to mask the code found in the .sikuli file as well
as the images, hence bringing in a .skl file into the picture. However,
the main script I'm running needs to IMPORT the .skl file. Is that
possible?

If it is - how do I go about doing it?

If it isn't - what is a workaround I can employ to achieve this?

At present, what I'm thinking of is to password-protect a zip file, then
unzip it with python, import the script and delete the unzipped file.

P.S. I'm pretty sure you can reverse engineer the .skl file and even
break through the workaround I'm thinking of right now, but if the user
wishes to go to that length to get the script, they can have it. This is
just a precautionary measure to discourage the average user.

Thanks.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread obiwan-92
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Status: Open => Answered

obiwan-92 proposed the following answer:
Hello,

Like notified in the install instructions, the OCR is by default switch off.
So if you want to use it, you have to install it and allow it in the settings 
of Sikuli.

Regards.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread Eugene S
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Eugene S proposed the following answer:
Try to include the following command before trying to read text:

Settings.OcrTextRead = True

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243317]: Can i use sikuli script with C#

2014-02-05 Thread Eugene S
Question #243317 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243317

Eugene S posted a new comment:
Can you please elaborate what how exactly you want to link C# and
Sikuli?

Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243317]: Can i use sikuli script with C#

2014-02-05 Thread Eugene S
Question #243317 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243317

Eugene S posted a new comment:
Can you please elaborate what how exactly you want to link C# and
Sikuli?

Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243317]: Can i use sikuli script with C#

2014-02-05 Thread Eugene S
Question #243317 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243317

Status: Open => Answered

Eugene S proposed the following answer:
Can you please elaborate what how exactly you want to link C# and
Sikuli?

Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #242481]: Ubuntu 12.04 searching for images/capturing screen in empty workspace

2014-02-05 Thread Launchpad Janitor
Question #242481 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242481

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #242451]: How to load a sikuli test case using selenium webdriver java, in ubuntu eclipse?

2014-02-05 Thread Launchpad Janitor
Question #242451 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242451

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread Test
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

Description changed to:
Hey there,

Is it possible to import a .skl file? I understand that the .skl file is
a compressed version of the .sikuli file.

I have a requirement to mask the code found in the .sikuli file as well
as the images, hence bringing a .skl file into the picture. However, the
main script I'm running needs to IMPORT the .skl file. Is that possible?

If it is - how do I go about doing it?

If it isn't - what is a workaround I can employ to achieve this?

At present, what I'm thinking of is to password-protect a zip file, then
unzip it with python, import the script and delete the unzipped file.

P.S. I'm pretty sure you can reverse engineer the .skl file and even
break through the workaround I'm thinking of right now, but if the user
wishes to go to that length to get the script, they can have it. This is
just a precautionary measure to discourage the average user.

Thanks.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #243362]: Generate randon string

2014-02-05 Thread Sikulipro
New question #243362 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243362

How to generate random string in a text field letters ,numbers or symbols.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #243363]: import scripts does not work always. I have tried so many times but succeeded only twice or thrice.

2014-02-05 Thread amit mhetre
New question #243363 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243363

import scripts does not work always. I have tried so many times but succeeded 
only twice or thrice.

below is my code

from sikuli import *
import Login
click(login.png)

also i have tried

from Login import *
click(login.png)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #242709]: Is there any code to count the number of simillar images in java sikuli...

2014-02-05 Thread Vaishali
Question #242709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242709

Status: Answered => Solved

Vaishali confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243197]: Sikuli does not finds control after some time or next day on same script with same application page

2014-02-05 Thread Sikulipro
Question #243197 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243197

Status: Answered => Solved

Sikulipro confirmed that the question is solved:
I got the problem, i understand if i find a text box and if there are multiple 
text box and our selection is just that text area, 
now what i am doing i am taking the images with nearby label,text ...it should 
be unique.

thanks for your support indeed.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243260]: Action performs but does not display enything on the GUI

2014-02-05 Thread Sikulipro
Question #243260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243260

Status: Answered => Open

Sikulipro is still having a problem:
i have used it , but  not effective, for  windows Task Scheduler>>
Create Basic Task

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #243367]: Issues with images

2014-02-05 Thread Sikulipro
New question #243367 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243367

If there are same images , how to make one of image unique , i an not able to 
differentiate between those images...or any solution please provide...

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread RaiMan
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

Status: Open => Answered

RaiMan proposed the following answer:
yes, .skl cannot be imported currently.

The workflow you mentioned to get a "secured" script is ok on the
surface.

... but since at runtime at some time everything is readable, one that
wants to get the code, simply has to abort the script and start with the
main script that is in the temp folder at that time.

Generally: Scripting means interpreting a given text and hence trying to secure 
will never be finally work as expected.
... and with the current approach, the images will be freely available at any 
time during run.

If you want to have more options to secure your code and images, you
have to program in Java against sikuli-java.jar.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243363]: import scripts does not work always. I have tried so many times but succeeded only twice or thrice.

2014-02-05 Thread Eugene S
Question #243363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243363

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Try to leave just the Sikuli line as is but import your own modules like
that:

import Login

instead of "from Login import *"


Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243283]: Sikuli script when moved to 64bit environment throws an error

2014-02-05 Thread RaiMan
Question #243283 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243283

RaiMan posted a new comment:
@Rubinator
I fully understand your frustration.
But do not overestimate .skl 
it is simply a zipped version of the respective .sikuli folder. Anyon who knows 
that just unzips it and here you are.
Nevertheless it should work.

I am only back home tomorrow to get a chance to test on my Windows.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243362]: Generate randon string

2014-02-05 Thread Eugene S
Question #243362 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243362

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

This is a pure Python question rather than Sikuli.
You can do something like that:

import random
import string

''.join(random.choice(string.ascii_uppercase + string.digits) for x in
range(N))

where N is the desired length of the string you want to generate.


Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243367]: Issues with images

2014-02-05 Thread Sikulipro
Question #243367 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243367

Status: Needs information => Solved

Sikulipro confirmed that the question is solved:
Thanks It works ,

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243367]: Issues with images

2014-02-05 Thread Eugene S
Question #243367 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243367

Status: Open => Needs information

Eugene S requested more information:
Hi,

Can you please give a bit more detailed explanation and describe the
specific problem you are having?


Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243260]: Action performs but does not display enything on the GUI

2014-02-05 Thread RaiMan
Question #243260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243260

Status: Open => Answered

RaiMan proposed the following answer:
when working with task scheduler, you have to run Sikuli with admin
rights.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread Sikulipro
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Status: Answered => Open

Sikulipro is still having a problem:
1) How to download and install Ocr, is any link or setup


2) i am usingSettings.OcrTextRead = True   this but getting below error

[error] TextRecognizer: init: tessdata folder not found at
D:/Users/1484/Downloads/libs/

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread Sikulipro
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Sikulipro posted a new comment:
now i have checked  allow searching for text and allow OCR,

now i am getting an error as:-

[error] TextRecognizer: init: tessdata folder not found at 
[error] Region.text: text recognition is now switched off
--- no text ---

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread obiwan-92
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Status: Open => Answered

obiwan-92 proposed the following answer:
Hello,

Normally, you have an option during the install of Sikuli.

For the other problem, look at :
https://answers.launchpad.net/sikuli/+faq/2436

Regards.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread obiwan-92
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

obiwan-92 proposed the following answer:
Be aware, the OCR have some problem in the 1.0.1 version of Sikuli.

If it's not worked, the two best workaround are :
- to compare text like it was image with exists or find methods.
- to use your clipboard with the command :
type('c', Key.Modifier.CTRL)
text = Env.getClipboard

Regards.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 905048] Re: [request] want option to highlight matches on every find

2014-02-05 Thread dinev
how can I switch on this option on/off?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/905048

Title:
  [request] want option to highlight matches on every find

Status in Sikuli:
  Fix Released

Bug description:
  In order to aide in the debugging of scripts, it would be helpful to
  have an option for every find/exists and similar operations execute
  the "highlight" operation.  Additionally, highlighting the region in a
  separate color would improve debug as well.  This would allow users to
  see what Sikuli is seeing sees during testing.

  Testing with Sikuli 1.0-RC2 on 32-bit windows.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/905048/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243363]: import scripts does not work always. I have tried so many times but succeeded only twice or thrice.

2014-02-05 Thread amit mhetre
Question #243363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243363

Status: Answered => Open

amit mhetre is still having a problem:
made changes but getting below error.

[error] NameError ( !!WHILE IMPORTING!! name 'App' is not defined )


Thanks,
Amit




 From: Eugene S 
To: amitbmhe...@yahoo.co.in 
Sent: Wednesday, 5 February 2014 7:46 PM
Subject: Re: [Question #243363]: import scripts does not work always. I have 
tried so many times but succeeded only twice or thrice.
 

Your question #243363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243363

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Try to leave just the Sikuli line as is but import your own modules like
that:

import Login

instead of "from Login import *"


Cheers,
Eugene

-- 
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/243363/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/243363

You received this question notification because you asked the question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243283]: Sikuli script when moved to 64bit environment throws an error

2014-02-05 Thread Rubynator
Question #243283 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243283

Status: Needs information => Open

Rubynator gave more information on the question:
@ obiwan-92

- I did. I was hoping extracting the script to .skl file (a single file) and 
sharing that would be enough, since as Raiman said,  it's just a zipped version 
of the .py and the the png files. 
I appreciate your comments highly, but these still don't answer the question.

@RaiMan Yes, I'm looking forward to see your response on this, eagerly!

Thanks!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread Rubynator
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

Rubynator posted a new comment:
Hi RaiMan, Do you know when they are going to implement this feature?  
(Importing of .skl)
I think It's a very high priority. 

Thank you!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread RaiMan
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

RaiMan proposed the following answer:
LOL - Do you know when they are going to implement this feature?

... they ... in the moment is just RaiMan ;-)

... I think It's a very high priority.
might be from your point of view, but I will not add any further support for 
.skl

In version 1.1.0+, there will be an option to pack script stuff into a jar, 
that can even be made self-starting on double click.
With a jar container it is much easier to hide the stuff contained in the jar 
even with some basic "encryption".
And they are importable/loadable.

So for now, you have to find your own solution for that. Sorry, but I
have other priorities with Sikuli.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #243428]: Click button in JAVA to start sikuli

2014-02-05 Thread Jeremy
New question #243428 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243428

I'm programming a Sikuli (thanks much for creating it) app. It has worked great 
until I wanted to add a button and run the process on a button click.

I'm getting these errors:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalThreadStateException: 
Cannot call method from the event dispatcher thread
at java.awt.Robot.checkNotDispatchThread(Unknown Source)
at java.awt.Robot.waitForIdle(Unknown Source)
at org.sikuli.script.RobotDesktop.mouseDown(RobotDesktop.java:76)
at org.sikuli.script.Region._click(Region.java:2320)
at org.sikuli.script.Region.click(Region.java:2198)
at com.main.MarvelReboot.RunProcess(MarvelReboot.java:19)
at com.main.MainProgram$1.ViewChanged(MainProgram.java:39)
at com.main.MainView.actionPerformed(MainView.java:52)

My problem is I want to click a button and start a process. However, from what 
I'm reading, it doesn't work with JAVA swing? 

I must be missing something.

Thanks


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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243363]: import scripts does not work always. I have tried so many times but succeeded only twice or thrice.

2014-02-05 Thread Test
Question #243363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243363

Status: Open => Answered

Test proposed the following answer:
The line:

from sikuli import *

Should appear in the file you are IMPORTING not the file you are
importing INTO.

Example, I want to import a script named test into a script named
example.

In example.sikuli:

import test

In test.sikuli:

from sikuli import *



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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243323]: Is it possible to import a .skl file? If not, workaround?

2014-02-05 Thread Test
Question #243323 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243323

Status: Answered => Solved

Test confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread Sikulipro
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Sikulipro gave more information on the question:
Hi,


with using this i am getting 

type('c', Key.Modifier.CTRL)
text = Env.getClipboard

[error] AttributeError ( type object 'org.sikuli.script.Key' has no
attribute 'Modifier' )

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #243322]: Issue on Region .text

2014-02-05 Thread Sikulipro
Question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

Status: Answered => Open

Sikulipro is still having a problem:
Hi,


I am really thankful to your support,


please check the attachment,i have an issue.




 From: obiwan-92 
To: saindane_hars...@yahoo.com 
Sent: Wednesday, 5 February 2014 10:01 PM
Subject: Re: [Question #243322]: Issue on Region .text
 

Your question #243322 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243322

obiwan-92 proposed the following answer:
Be aware, the OCR have some problem in the 1.0.1 version of Sikuli.

If it's not worked, the two best workaround are :
- to compare text like it was image with exists or find methods.
- to use your clipboard with the command :
type('c', Key.Modifier.CTRL)
text = Env.getClipboard

Regards.

-- 
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/243322/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/243322

You received this question notification because you asked the question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp