Sikuli see only half the screen in matching preview

Asked by Lyuben

os windows 7
http://oi61.tinypic.com/25su5c9.jpg
Seeing only half the screen was not a problem befor but sikuli is also starting to ignor
images that are in that part :/
I had the same problem befor but i really cant remmeber how i fixed it
i would appriciate any help Thank you ! :)
im using laptop ( dont know if it matters )

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Lyuben (lubecaa) said :
#1

tried reinstalling - also doesnt work :(

Revision history for this message
Lyuben (lubecaa) said :
#2

ok found something new it seems that sikuli actually finds the images on the bottom of the screen,
but it doesn click on them
here is part
" if pReg.exists("1407271719039.png",1):
            ReliableClick(getLastMatch())
            PreventInfo()
            print("exists")"
and sikuli prints exists
so this opens a new problem why does Click(getLastMatch()) doesnt work in this case is it becouse of the region ?

Revision history for this message
Lyuben (lubecaa) said :
#3

ok second problem solved just have to add (pReg.getLastMatch())
the only thing left is why do i see only half of the screen in matching preview :)

Revision history for this message
Best RaiMan (raimund-hocke) said :
#4

currently the mapping of the screen into the Preview window is not very intelligent, since in all cases, the width is completely used, but there is no scrollbar to scroll down, if not all is visible.

Just reduce the width of the window until you see enough of your screen.

Revision history for this message
Lyuben (lubecaa) said :
#5

Thanks RaiMan, that solved my question.

Revision history for this message
Lyuben (lubecaa) said :
#6

That solved my problem :)
Thank you RaiMan for the quick respone !