Perform shortcut key action to zoom a web page

Asked by Mujeebu Rahman

Hi,

I would like to perform a zoom action on a web page using key combination "Command + '+'"

CMD + Plus button(+)

I tried the following,

type(Key.CMD+"+")

but nothing happened and output in the console shown as "[log] TYPE "+""

Regards.

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
Mujeebu Rahman (mujeeburahman007) said :
#1

Basically I am trying to zoom in a Mac application and not in the web page..

Hence only CMD + "+" works in this case. No other shortcuts are provided in the app.

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

type("+", Key.CMD)

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#3

Hey Thanks. That's working out.

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#4

Thanks RaiMan, that solved my question.