sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44434
[Question #660530]: Typing a variable automatically presses enter for me.
New question #660530 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660530
0
down vote
favorite
Sorry if this is really basic, I cannot find a workaround. I have a variable called 'doc' that stores the number 510 that was copied from an excel cell.
I need to type it in a field, but I need to continue typing in another field on the same page afterwards.
My code has:
type(doc)
The log shows:
[log] TYPE "510#ENTER."
The full code looks like this:
type(doc)
wait(1)
type(Key.DOWN)
type(Key.BACKSPACE+Key.BACKSPACE+Key.BACKSPACE+Key.BACKSPACE)
wait(1)
type(code)
However, I can't ged to the 'type(code)' because it switches page before I get there...
Thank you for the help, it is much appreciated! S
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.