Convert string into numerical data
Asked by
MPE
Hi there,
I want to do the following:
1 Select a bit of text (it is actually a number) from a datafield within a browser (not a problem in sikuli).
2 Convert the string value into numerical data
3 Add +1 to the new value
4 Paste the new value
My problem is that I am stuck on step 2. What is the easiest way to go about? I'm not even sure if Sikuli can do this.
Many thanks in advance!
MPE
UPDATE:
Ok, so I've found answers to similar question using "number = int(Region.
The problem is, however, that I have no idea how to define a region, and there really are no instructions or tutorials online. Help is much appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- MPE
- Solved:
- Last query:
- Last reply:
To post a message you must log in.