← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204801]: Open browser, type the url/IP address and hit enter

 

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

    Status: Answered => Solved

networkdownloader confirmed that the question is solved:
Thank you very much RaiMan for the prompt response. Beyond doubt you
must be the best helping all the newbies. great job boss.

I modified the code slightly as Key.ENTER got pasted along with the
192.168.1.x line. I used "\n" instead (not sure if that is a bug). The
following is my code

---------------------------------------------------------------------------------------------------------------
openApp(r"C:\Users\lightspeed\AppData\Local\Google\Chrome\Application\chrome.exe")
wait(7) # waits 5 seconds, I increased the wait to 7 seconds - just to be safe
type("l", KeyModifier.CTRL) # press lowercase L + CTRL
paste("192.168.1.x")
type("\n") 
-----------------------------------------------------------------------------------------------------------------

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.