type("v", KEY_CTRL) not pastng the value copied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am trying to copy multiple cells from excel and paste it on a new excel file with the command type("v"+KEY_CTRL). It pastes the value "1" only. I checked this by print type("v"+KEY_CTRL) still getting 1 only.
click("
type("c", KEY_CTRL) #above value copies correctly in the excel sheet which is already on the screen
but the following command fails.
print type('v', KEY_CTRL) # prints the value "1"
also fails the following which is my actual requirement. It prints the value "1"(without double quotes) on cell(0,0)
import xlwt
book1 = xlwt.Workbook()
sheet1 = book1.add_
print type('v', KEY_CTRL)
sheet1.
book1.save(
I am using sikuli 1.1.0 on windows 7 32 bit
Changed in sikuli: | |
status: | New → Invalid |
Hi,
In order to verify your issue I done similar example - http:// screencast. com/t/NqqyYz0Am blJ - that seems to work fine
Just wndering why you are using type in such strange way(not sure it will work at all)
Can you try just with plain type as in my example.
Also you may try using value from clipboard directly - Env.getClipboard (http:// doc.sikuli. org/globals. html#Env. getClipboard)