[Sikuli-driver] [Question #280915]: Auto generated images names causes a problem

2016-01-13 Thread dinev
New question #280915 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280915

In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
For example

class screenDialog1:
button_OK =

If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
That excellent idea however there is a problem
In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:

class screenDialog1:
button_OK = "button_OK.png"
class screenDialog2:
button_OK =

now if you put your cursor on after "=" on the second button_OK and try to get 
image you will mess up your UI map without even knowing it. The problem is that 
sikuli will again generate "button_OK.png" and will replace the first one. 
There is no warning and even no visual change in in the first button until you 
reload sikuli.

Suggested fix:
- when image already exist just pop up dialogue for user to enter different name
or
- in old 1.0 sikuli there was automatic indexation 1,2,3 etc
or
- if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png

Neven
ps: bug is logged here https://bugs.launchpad.net/sikuli/+bug/1529457

-- 
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 #280915]: Auto generated images names causes a problem

2016-01-13 Thread RaiMan
Question #280915 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280915

Linked to bug: #1529457
https://bugs.launchpad.net/bugs/1529457
"Auto generated images names causes a problem"

-- 
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 #280915]: Auto generated images names causes a problem

2016-01-13 Thread RaiMan
Question #280915 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280915

Status: Open => Solved

RaiMan changed the question status:
the discussion is in the related bug.

-- 
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