Modifier and a Click

I fail in pressing 2 modifier keys and clicking. :oops:
if WithModifier is yes
	then 
		KeyDown Shift, CommandKey
		Click "here"
		KeyUp AllKeys
	else
		Click "here"
	end if

Depending on the handlers call parameter WithModifier which must be yes I need to click on the SUT (Mac OS X) a button while shift and command must be pressed.

I understand from the description that KeyDown seems to work with a keystroke, but it does not seem to work with a click, or am I am missing something here... :?

Thanks in advance...

Comments

Sign In or Register to comment.