How to use Alt+space+r to restore the window screen

Asked by Harry

How to use Alt+space+r to restore the window screen.
I tried using
type(Key.ALT,KEY_SPACE)
type(Key.ENTER)
This works in firefox.
But in chrome Alt+space+r need to be used to restore the window.
Please help
i tried type("r" + Key.ALT,KEY_SPACE). I didn't worked.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

keyDown(Key.ALT)
type(" r")
keyUp()

Revision history for this message
Harry (iam-harishetty) said :
#2

No it didn't worked

Revision history for this message
Eugene S (shragovich) said :
#3

Hi,

Try that:

type(Key.SPACE, KeyModifier.ALT)
waitFor(.5)
type('r')

Can you help with this problem?

Provide an answer of your own, or ask Harry for more information if necessary.

To post a message you must log in.