← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #144310]: type(somekey, KEY_META) inconsistent

 

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

yarko gave more information on the question:
On Tue, Feb 8, 2011 at 12:56 PM, Yarko Tymciurak <yarkot1@xxxxxxxxx>
wrote:

> On Tue, Feb 8, 2011 at 12:22 PM, RaiMan <
> question144310@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Your question #144310 on Sikuli changed:
>> https://answers.launchpad.net/sikuli/+question/144310
>>
>> RaiMan posted a new comment:
>> last try (just downloaded rc1, tried and this works):
>>
>> b = App("Firefox")
>> b.focus()
>> while not b.window():
>>   wait(1)
>> Region(b.window()).highlight(2)
>>
>

in fact, this works too, so there is something different between setting
focus on your and my systems:
----
b = App("Firefox3")
b.focus()
while not b.window():
  wait(1)
# either of the following two lines work:
Region(b.window()).highlight(0.1)   # this makes a difference;
# b.focus()   # this  causes reminder to work too...
type("l", KEY_META); wait(0.5)
paste("www.sikuli.org"); type(Key.ENTER)


-- 
Regards,
- Yarko

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