sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32451
Re: [Question #266528]: app.focus() not working after window title change (Windows 8.1)?
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered => Open
Geoff Bache is still having a problem:
More info. You seem to be losing the first letter of the first argument!
Here's the code
print cmd
app = App(cmd)
app.open()
app.focus()
#import subprocess
#proc = subprocess.Popen(cmd)
#app = App.focus(title)
print app
And here's what it prints
C:/work/ros-client/ros/build/cbxe2/bin/debug\ros.exe -LP -W config\serverurl=pipe://./xros11904x;config\auth_mode=local;
[9676:ros.exe (WEADDT ROS : (1936x1176))] C:/work/ros-client/ros/build/cbxe2/bin/debug\ros.exe LP -W config\serverurl=pipe://./xros11904x;config\auth_mode=local;
Note the lack of "-" before "LP" on your printout of "app" on the second
line.
By putting a harmless argument here I can make it work. (I never got setUsing() to work by any method).
But the startup time is still too slow to use this in practice in any case...
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.