Question #270082 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270082

    Status: Open => Answered

RaiMan proposed the following answer:
 = 0
lines = open("notepad file.txt").readlines()
for line in lines:
    i += 1
    type("PLAN"+str(i))
    fields = line.split()
    k = 3
    n = 2
    name = ""
    while fields[n] != "age":
        k += 1
        n += 1
        name += " " + fields[n]
    age = fields[k]
    sex = fields[k + 2]

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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

Reply via email to