Re: [Sikuli-driver] [Question #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
Question #671319 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671319

Description changed to:
Hi there,

I've seen a lot of tickets with regards clipboard().

I am using a Mac and installed Sikulix 1.1.2.

Using the following commands:
doubleClick(Pattern(someText).targetOffset(90,-70)) and type("c", 
KeyModifier.CMD)
someText = App.getClipboard()
print("This is " + str(someText) + " to be printed.")

It looks like that it does not work "sometimes".
Physically using the CMD and 'C' combined does work properly, meaning it prints 
the correct string.

Is this (what I've been reading) still an issue with JAVA, that simply
cannot be solved? Or is there an alternative what I could not find?

Thanks again for the help.

Regards,
Sander

-- 
You received this question notification because your team Sikuli Drivers
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 #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
Question #671319 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671319

Description changed to:
Hi there,

I've seen a lot of tickets with regards clipboard().

I am using a Mac and installed Sikulix 1.1.2.

Using the following command:
doubleClick(Pattern(someText).targetOffset(90,-70)) and type("c", 
KeyModifier.CMD)
someText = App.getClipboard()
#print("This is " + str(someText) + " to be printed.")

It looks like that it does not work "sometimes".
Physically using the CMD and 'C' combined does work properly, meaning it prints 
the correct string.

Is this (what I've been reading) still an issue with JAVA, that simply
cannot be solved? Or is there an alternative what I could not find?

Thanks again for the help.

Regards,
Sander

-- 
You received this question notification because your team Sikuli Drivers
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 #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
New question #671319 on Sikuli:
https://answers.launchpad.net/sikuli/+question/671319

Hi there,

I've seen a lot of tickets with regards clipboard().

I am using a Mac and installed 1.1.2.

Using the following command:
doubleClick(Pattern(someText).targetOffset(90,-70)) and type("c", 
KeyModifier.CMD)

It looks like that it does not work "sometimes".
Physically using the CMD and 'C' combined does work properly.

Is this (what I've been reading) still an issue with JAVA, that simply cannot 
be solved? Or is there an alternative what I could not find?

Thanks again for the help.

Regards,
Sander


-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

Status: Answered => Solved

Sander confirmed that the question is solved:
Thank you for your answers, the issue is fixed. Adding wait() methods to
it and now it works properly.

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301

Status: Open => Answered

RaiMan proposed the following answer:
you might use instead:

capture(SCREEN).getFile(…..)

according to this:
/**
 * stores the image as PNG file in the given path
 * with the given filename
 *
 * @param path valid path string
 * @param name filename (.png is added if not present)
 * @return absolute path to stored file
 */
public String getFile(String path, String name) {

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

TestMechanic proposed the following answer:
Sander,

Try to execute following command in console and then reboot your Mac
(you may need sudo)

defaults write -g ApplePressAndHoldEnabled -bool false

-- 
You received this question notification because your team Sikuli Drivers
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 #671168]: Image : Image text is not valid , but SearchText is switched off!!

2018-08-02 Thread RaiMan
Question #671168 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671168

Status: Open => Answered

RaiMan proposed the following answer:
ok, this you have:

# images.sikuli # containing
img1 = "image1.png"
…. more of them

# main.sikuli # containing
from images.sikuli import *
find(img1)

if both .sikuli are in the same folder, then this should work.

BTW: with 1.1.3+ the reload() after an import() is no longer needed.

… and the main script does not need
from sikuli import *

to check your situation, add the following to the function setup():
for entry in sys.path: print entry # should show all your imports

-- 
You received this question notification because your team Sikuli Drivers
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 #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread RaiMan
Question #671298 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671298

Status: Needs information => Answered

RaiMan proposed the following answer:
Upload it somewhere and put a link here.

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread RaiMan
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

RaiMan proposed the following answer:
Since Sikuli does not know anything about timing of the underlying GUI,
you have to add some wait() after an action, that should activate an
input field for type (give focus) - hence BEFORE the type().

You might try with paste(text) instead of type(text). 
Usually only the first field, that is activated with a click, might make 
problems. The subsequent type()'s after a TAB should work.

This is especially true for GUI's shown in a browser.
 SikuliX is completely visual. 
 
 if this is not ok for you, then you have to use libraries like Selenium, that 
are aware of the GUI running in a browser.

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

Status: Open => Answered

TestMechanic proposed the following answer:
I posted similar problem back in 2017 for MacOS Sierra

https://answers.launchpad.net/sikuli/+question/562274

-- 
You received this question notification because your team Sikuli Drivers
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 #671168]: Image : Image text is not valid , but SearchText is switched off!!

2018-08-02 Thread TestMechanic
Question #671168 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671168

TestMechanic posted a new comment:
Provided code example is complex and uncompleted. Try to isolate your
problem just to 2-3 files max.

-- 
You received this question notification because your team Sikuli Drivers
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 #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
Question #671298 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671298

Anupam Yadav posted a new comment:
Can you please help me, how can i upload a photo in sikuli launchpad??

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

Status: Open => Answered

TestMechanic proposed the following answer:
You are executing above code against what?

There is a chance that your app under test is switching focus. Try
adding "sleep(1)" after click and type commands

-- 
You received this question notification because your team Sikuli Drivers
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 #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread TestMechanic
Question #671298 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671298

Status: Open => Needs information

TestMechanic requested more information:
A screenshot or video will help us to help you.

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
Question #671307 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671307

Status: Answered => Open

Sander is still having a problem:
Hi TestMechanic,

Using Safari.
Do I need to add sleep(1) after every click and type command???

Hm, I used to use Windows, that worked fine without any sleep command.
Some here and there a wait command do you have any other suggestion?

Just try to fill in a form using some input fields.

type("123") and sleep(1)
type("Key.TAB") and sleep(1)

Without using Sikuli I could Tab though all input field manually without
an issue.

-- 
You received this question notification because your team Sikuli Drivers
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 #670975]: Having trouble installing Sikuli on Ubuntu 18.04LTS

2018-08-02 Thread TestMechanic
Question #670975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670975

TestMechanic proposed the following answer:
I was able to compile steps for configuring required modules for sikuli
1.1.2 on Ubuntu18/Lubuntu18

https://drive.google.com/open?id=1K4Yvq3jSSNpyvixegUMAsyp_bNluYfXOo3peTIQ8Rig

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301

Description changed to:
Whenever the user takes a screenshot via code, the file is appended with
digits showing the date it was taken. This makes it tedious when the
user has to search for an image. For example, taking
saveScreenCapture("Picture.png") will always result in something like
"Picture20181204". In my project, I had to write a function which takes
the last file created and then rename it once again to the desired
filename.

This happens on the last Sikuli version which is 1.1.2 and on a Windows
10 x64 machine.

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301

Status: Needs information => Open

Cosmin Niculae gave more information on the question:
Sorry, I meant to say save saveScreenCapture().

-- 
You received this question notification because your team Sikuli Drivers
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 #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
New question #671307 on Sikuli:
https://answers.launchpad.net/sikuli/+question/671307

Hi Raiman,

When I execute the following:

wait(POSTCODE)
click(POSTCODE)
type("617LZ")
type(Key.TAB)
type("34")
click(Next)

It fills in:
POSTCODE: 17IZ
NEXT FIELD: 634

So basically it is missing the character 6 that should be entered in the 
POSTCODE field, but is added into the next field.
After restarting it a couple of times, did not help.

Any suggestions?

earlier ticket created: #671266

-- 
You received this question notification because your team Sikuli Drivers
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 #671266]: creating an image lib

2018-08-02 Thread Sander
Question #671266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671266

Status: Answered => Solved

Sander confirmed that the question is solved:
Hi Raiman,

It works, it does recognise the images :-)

For the someImages.sikuli I've removed all import statements
The executable script I've used: from someImages import *. (otherwise it is not 
working)

Thanks for the help!
I do see see some other issues I have, but I'll raise this in a separate ticket.

Thanks for the help!

Regards,
Sander

-- 
You received this question notification because your team Sikuli Drivers
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 #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
Question #671302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671302

Status: Open => Answered

RaiMan proposed the following answer:
There are some settings available, to adjust the mouse behavior:
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings

If none of them fit, then the solution is, what you have done (by design
;-)

-- 
You received this question notification because your team Sikuli Drivers
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 1784869] Re: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
should first be a question

** Changed in: sikuli
   Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/671301

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

Title:
  Taking a screenshot always attaches unwanted digits in the filename

Status in Sikuli:
  Invalid

Bug description:
  Whenever the user takes a screenshot via code, the file is appended
  with digits showing the date it was taken. This makes it tedious when
  the user has to search for an image. For example, taking
  saveScreenshot("Picture.png") will always result in something like
  "Picture20181204". In my project, I had to write a function which
  takes the last file created and then rename it once again to the
  desired filename.

  This happens on the last Sikuli version which is 1.1.2 and on a
  Windows 10 x64 machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1784869/+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


[Sikuli-driver] [Bug 1784861] Re: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
should first be a question

** Changed in: sikuli
   Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/671302

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

Title:
  Double click is sometimes not executed on a region

Status in Sikuli:
  Invalid

Bug description:
  In the tests I am writing, the double click function sometimes does
  not perform and sometimes not even the click. Therefore, I had to
  rewrite the functions myself to use Mouse Down and Mouse Down with a
  delay in-between.

  The version of Sikuli I am using is: 1.1.2, on a Windows 10 64-bit
  machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1784861/+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 #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
Question #671302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671302

RaiMan posted a new comment:
should first be a question

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301

RaiMan posted a new comment:
should first be a question

-- 
You received this question notification because your team Sikuli Drivers
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 #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread Cosmin Niculae
New question #671302 on Sikuli:
https://answers.launchpad.net/sikuli/+question/671302

In the tests I am writing, the double click function sometimes does not perform 
and sometimes not even the click. Therefore, I had to rewrite the functions 
myself to use Mouse Down and Mouse Down with a delay in-between. 

The version of Sikuli I am using is: 1.1.2, on a Windows 10 64-bit machine.

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
New question #671301 on Sikuli:
https://answers.launchpad.net/sikuli/+question/671301

Whenever the user takes a screenshot via code, the file is appended with digits 
showing the date it was taken. This makes it tedious when the user has to 
search for an image. For example, taking saveScreenshot("Picture.png") will 
always result in something like "Picture20181204". In my project, I had to 
write a function which takes the last file created and then rename it once 
again to the desired filename.

This happens on the last Sikuli version which is 1.1.2 and on a Windows 10 x64 
machine.

-- 
You received this question notification because your team Sikuli Drivers
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 #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301

Status: Open => Needs information

RaiMan requested more information:
I do not know the function
saveScreenshot()

as a feature of SikuliX.
So what are you talking about?

-- 
You received this question notification because your team Sikuli Drivers
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 #671266]: creating an image lib

2018-08-02 Thread RaiMan
Question #671266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671266

Status: Open => Answered

RaiMan proposed the following answer:
--1. the main script (the one, that is run) does not need
from sikuli import *

--2. when using import for the script, that contains the images,
then 
setBundlePath(".../Sikulix/someImages.sikuli") 
is not needed
… an imported script is automatically added to the imagepath

--3. a script, that only contains image references like
imageXXX = "imageWhatever.png"
does not need a 
from sikuli import *
This is only needed in imported scripts, that use SikuliX features.

Generally:
If you get the error
[error] ImportError ( No module named sikuli )
when running a script, then you have to revise your setup.
Running a script in a correctly setup SikuliX IDE will never produce such 
errors.
This only happens in setups, where you try to run SikuliX scripts with other 
means: Jython from commandline, other IDE's like NetBeans/PyDev, PyCharm.

-- 
You received this question notification because your team Sikuli Drivers
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 #671266]: creating an image lib

2018-08-02 Thread Sander
Question #671266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671266

Status: Answered => Open

Sander is still having a problem:
Hi Manfred,

Thanks for coming back on this. You are correct. That is my mistake editing 
this answer.
But the actual problem is, is that is returns an error for the import.

I've tried what Raiman suggested but it gives an:

[error] script [ executableTests] stopped with error in line 2
[error] ImportError ( No module named sikuli )

--
#someImages.sikuli
from sikuli import *
setBundlePath(".../Sikulix/someImages.sikuli")

image1 = "image1.png"
image2 = "image2.png"

than:

# executableTests
from sikuli import *
from someImages import *

hover(image1)
hover(image2)

[...]
--
[error] script [ executableTests ] stopped with error in line 2
[error] ImportError ( No module named sikuli )

-- 
You received this question notification because your team Sikuli Drivers
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 #671266]: creating an image lib

2018-08-02 Thread Manfred Hampl
Question #671266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671266

Status: Open => Answered

Manfred Hampl proposed the following answer:
The lines

image1 = image1.png
image2 = image2.png

are definitely wrong, they have to be

image1 = "image1.png"
image2 = "image2.png"

-- 
You received this question notification because your team Sikuli Drivers
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 #670899]: saved program no longer works

2018-08-02 Thread Launchpad Janitor
Question #670899 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670899

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 your team Sikuli Drivers
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 #670437]: Need some pointers on how to test POS with Sikuli

2018-08-02 Thread Launchpad Janitor
Question #670437 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670437

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 your team Sikuli Drivers
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 #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
New question #671298 on Sikuli:
https://answers.launchpad.net/sikuli/+question/671298

Hi, I am creating a utility/bot, in which i need to click on items one by one 
out two to three items/results shown in the UI. What logic should i use to 
click on items one by one. 

-- 
You received this question notification because your team Sikuli Drivers
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 #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
Question #671298 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671298

Description changed to:
Hi, I am creating a utility/bot, in which i need to click on items one
by one out of multiple results/items shown but at a time, two to three
items/results shown in the UI. What logic should i use to click on items
one by one.

-- 
You received this question notification because your team Sikuli Drivers
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