← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215287]: Get height of windows-taskbar

 

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

Steffen posted a new comment:
Resolution of my monitor: 1920x1080

I ran this script:
openApp("notepad")
wait(3)
type(" ",KeyModifier.ALT)
for i in range(4):
    type(Key.DOWN)
type(Key.ENTER)
wait(1)
w = App.focusedWindow()
print "x", w.x
print "y", w.y
print "width", w.w
print "height", w.h

print results:
x -8
y -8
width 1936
height 1056

Why is there a "border" of 8px around my App ?

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