read location from file for dragDrop
Asked by
thunderhill
I am trying to read coordinates of "Location" from file for dragDrop
Here the snippet
f = open("C\Test.txt")
for line in f.readlines():
#print line
dragDrop(
f.close()
The Text.txt contains
560,460
The error is
[error] TypeError ... 1st arg can't be coerced to java awtPoint,
I am trying to automate multiple icons to be dragged and dropped in to a box whose Locations are stored in a Test.txt file
How to read from a file in a for loop for dragDrop Location?
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:
To post a message you must log in.