Last active
May 6, 2020 10:08
-
-
Save m0pfin/9104dfbfcfcf84ed5d5d5900c41ae991 to your computer and use it in GitHub Desktop.
AppleScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Эмулятор клавиатуры на AppleScript: CMD+T | |
-- В данном примере запускает Хром и открываем новую вкладку | |
tell application "Google Chrome" to activate | |
tell application "System Events" to key code 17 using command down | |
delay 0.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment