Passing a Region as a arguement
Asked by
William Elmer
I would like to pass a region in order to verify some data.
An example might be:
Value = f.readline(
def MyTest(Region, value) #my function.
if exists(
Test = "passed" #write this to log file.
else
Test = Region.Text() #else log what we found instead
#end function here
MyTest(
Is this possible within the Sikuli IDE. I have tried the above code and it did not work. So maybe I have to assign a region to a variable first?
I am Raimans #1 fan by the way :P
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- William Elmer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.