← Back to team overview

sikuli-driver team mailing list archive

[Question #676784]: Automatic press enter after type text

 

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

Script paste commands contains in  test_2.txt in "Run"

list_of_anchor_links = open("C:\Source_for_Sikuli_scripts\test_2.txt")
for i in list_of_anchor_links:    
    type("r", Key.WIN)    
    type(Key.DELETE)
    type (Pattern("1544694065545.png").targetOffset(0,29), i)

But after type first commsnd automatic press enter
After type second(and next) command - all right

Text in message area:

[log] ( Windows ) TYPE "r"

[log] TYPE "#DEL."

[log] CLICK on L(272,953)@S(0)[0,0 1920x1080] (529 msec)
[log] TYPE "cmd#ENTER."

[log] ( Windows ) TYPE "r"
[log] TYPE "#DEL."

[log] CLICK on L(272,953)@S(0)[0,0 1920x1080] (532 msec)
[log] TYPE "regedit"


Why after TYPE appears #ENTER

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