Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending shortcut #35

Closed
nordringrayhide opened this issue Jul 27, 2016 · 1 comment
Closed

Sending shortcut #35

nordringrayhide opened this issue Jul 27, 2016 · 1 comment

Comments

@nordringrayhide
Copy link

Just have not found how to ask question, so the question is: how to send shortcut into active windows e.g. ALT+CMD+I, to open Google Chrome Development Tools
Thanks

@BlueM
Copy link
Owner

BlueM commented Jul 27, 2016

Could be done like this (assumed the target application is already in the foreground):
cliclick -w 100 kd:alt,cmd t:i ku:alt,cmd

This means: alt + cmd keys down, then type “i”, then alt + cmd keys up – and because that would be too fast for Chrome, wait 100 milliseconds (-w 100) between each action.

@BlueM BlueM closed this as completed Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants