visual calculator button need help
hello,
I'm trying to simulate a calculator by adding a bunch of numbers from a file.
I have a myfile.txt containing some values, example:
price quantity
1.99 2
3.49 20
0.99 15
I'd like to open the calculator from Windows. So the keypads are there.
I'd capture the screen of each button.
img0 = button_number_0
img1 = button_number_1
...
img9 = button_number_1
etc...
I defined a multidimensional array
keys = [[img0]
now say I read the myfile.txt and multiply the price * quanity in each row, and I also want to see the mouse is clicking on corresponding key of the calculator.
How would I go about doing that?
I checked http://
VisualDict = {}
my_keys = VisualDict(
click(my_
gave error
TypeError: 'dict' object is not callable
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: