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

    Status: Open => Answered

RaiMan proposed the following answer:
Since I do not know, where you want to put your page number, this is a
skeleton

current = 10 # last used page number
max = 15

while current < max:
    current += 1 # next page number
    print "Current page number:", current
    currentText = "- %d -"%(current) # a formatted text version
    print "Formatted current page number:", currentText
    # coding follows, that might use current/currentText
    if endCondition: break # end loop, if some endCondition is met

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to