← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267648]: ASCII

 

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

RaiMan proposed the following answer:
I just tested:
Window titles containing multi-byte characters like unicode/utf-8 are not found and hence not focused.
This will only be possible later with version 2, where utf-8 support will be a focus.

So in your case currently 2 possibilities:

--1:
App.focus("Corregedoria-Geral da Justi") # some part of the title

--2:
with the latest build of 1.1.0 you can do this:

ie = App.open(r'"C:\Program Files\Internet Explorer\iexplore.exe" "http://cgj-jboss.tjsc.jus.br:8080/casan/";)
# some time later
ie.focus()

which will bring back the frontmost IExplorer window to front.
so no need to fiddle around with window titles.

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