Question #272223 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272223
Status: Answered => Open
Sam is still having a problem:
Thanks. I'm finding the element to the right of it and then just highlighting
right to capture it. Unfortunately, I
ctrl+shift +right doesn't seem to work for highlighting.
Here is my code:
from urlparse import urlparse
import datetime
date = datetime.date.today() # pulls gregorian cal date
print date
## how to open applications directly
# Path to Firefox executable:
PathChrome =
"C:\Users\staffos\AppData\Local\Google\Chrome\Application\chrome.exe"
App.open(PathChrome)
wait(10)
type("l", KeyModifier.CTRL)
ZIP="60604" # data[22]
stationURL =
"view-source:http://www.wunderground.com/weather-forecast/zmw:"+ZIP+".1.99999"
paste(stationURL)
type(Key.ENTER)
wait(15)
type(Key.TAB)
type("f", KeyModifier.CTRL)
paste("METAR")
type(Key.ENTER)
wait(1)
type(Key.ESC)
wait(3)
##### this part isn't working. Trying to capture airport value next metar, but
this won't work to highlight
type(Key.RIGHT, KeyModifier.CTRL+KeyModifier.SHIFT )
type(Key.RIGHT, KeyModifier.CTRL+KeyModifier.SHIFT )
type(Key.RIGHT, KeyModifier.CTRL+KeyModifier.SHIFT )
Thanks for your help
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp