← Back to team overview

sikuli-driver team mailing list archive

[Question #646802]: Numbers converted to String type into another application backwards

 

New question #646802 on Sikuli:
https://answers.launchpad.net/sikuli/+question/646802

Hi,

I have used the following code to iterate a column and get the value, but when is typing into another app the numbers are backwards like 0001 instead 1000.

sumInsured = sheet.col_values(2)
i = 0
for rows  in sheet.col(2):
    type(Region(219,542,78,24), str(sum)[i])
    i += 1

On Sikuli message log is showing:

[log] TYPE "["
[log] CLICK on L(258,554)@S(0)[0,0 1920x1080] (528 msec)
[log] TYPE "1"
[log] CLICK on L(258,554)@S(0)[0,0 1920x1080] (520 msec)
[log] TYPE "0"
[log] CLICK on L(258,554)@S(0)[0,0 1920x1080] (546 msec)
[log] TYPE "0"
[log] CLICK on L(258,554)@S(0)[0,0 1920x1080] (546 msec)
[log] TYPE "0"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.