BlueM / cliclick

macOS CLI tool for emulating mouse and keyboard events

Home Page:https://www.bluem.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cmd+H not working

leoheck opened this issue · comments

Hi, I am trying to hide the application that is on top, but it seems that the Cmd+H is not working

This is what I am trying to do:

cliclick kd:cmd kp:q

Is this right?

Running command kp:q results in Invalid key “q” given as argument to command “kp” …, so this is obviously not correct. For simple characters, you have to use the “type” (t) command:

cliclick kd:cmd t:h ku:cmd

Ah got it, I was thinking, somehow, the t: was used only on inputfields. This works flawlessly. Thank you. Maybe having this example on Readme would help other users too.