sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02989
[Bug 670227] Re: switchApp is not correct in Linux
For completeness, I tried some scripts on another machine that didn't
'switchApp' you'll need a linux package 'wmctrl', as in ubuntu or debian
based machines:
sudo aptitude install wmctrl
Mike
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/670227
Title:
switchApp is not correct in Linux
Status in Sikuli:
Won't Fix
Bug description:
sikuli version: 0.10.2
OS: ubuntu 10.04
once I ran switchApp("appName"), it can only work when the appName is the app related windows title, otherwise like real application binary name provided, this command won't work.
it seems working like in Windows environment.
I opened an vnc session by command "vncviewer IP:port", and the
application was launched, its title is "TightVNC ....". if I ran
switchApp("vncviewer"), the window couldn't be brought to foreground.
however it did if I used the command switchApp("TightVNC").