← Back to team overview

sikuli-driver team mailing list archive

[Question #245021]: Using shortcut keys in cascading menus

 

New question #245021 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245021

Hello:

I am trying to set the zoom on IE but the following code snippet is failing. I want to set the zoom to 75% so that further searching on the IE browser is simplified and all data I need is on one page without scrolling.  I think my problem is with the type command. The secondary pop-up that appears when I manually type "Alt_V" and then "z" does not show up. I have read and understand questions 177200, 203924, 209244, 215940 etc (maybe my search skills need help to -- out of scope for this). My test will be on only one type machine using the same monitor configuration day in and day out. 

bottomLeft = Region(x + 684, y + 382, w, h) 	#define search area -- x,y,w, and h defined earlier. 
bottomLeft.highlight(1) 			#visual check for testing - remove later
if not (bottomLeft.exists(pcnt75)):		#this works as ALT + V is pressed and menu appears
    type(Key.ALT + "v" + "z") 			#ONLY alt + V is pressed. 
#    type("z")				# I tried this too, no joy. 
    wait("1393969001154.png")
    click("1393969001154.png")			#The zoom option box never comes up, FindFailed

What am I missing? 

system = Windows 7 Enterprise, SP1  and  IE 8.0.7601.17514

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