Re: [Sikuli-driver] [Question #688843]: How to click on current date using sikuli?

2020-02-25 Thread Kirankumar deshpande
Question #688843 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688843

Status: Answered => Solved

Kirankumar deshpande confirmed that the question is solved:
Thanks Manfred Hampl, that solved my 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 #688843]: How to click on current date using sikuli?

2020-02-18 Thread Manfred Hampl
Question #688843 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688843

Status: Open => Answered

Manfred Hampl proposed the following answer:
I see two possibilities:

1. If the position of the current date is always the same on the screen (e.g. 
150 pixels from the top, 30 pixels from the left), then you use that position 
as your click target.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.click
click(Location(x,y))
(replace x and y by the desired coordinates)

2. If you know the date format that is used to indicate the current date on the 
screen, then you can construct a string of today's date in this format and try 
to find it on the screen.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.find
find(time.strftime(%m/%d/%Y))
(adapt the format string as applicable; "import time" probably required at the 
beginning of the script)

-- 
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 #688843]: How to click on current date using sikuli?

2020-02-18 Thread Kirankumar deshpande
Question #688843 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688843

Description changed to:
I have to install daily build and would like to click on current date
using 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


[Sikuli-driver] [Question #688843]: How to click on current date using sikuli?

2020-02-18 Thread Kirankumar deshpande
New question #688843 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688843

I have to install build and would like to click on current date using 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