Created
December 7, 2020 03:38
-
-
Save dardo82/22418644ded3213ba1cfac9ceede0349 to your computer and use it in GitHub Desktop.
Import Chrome History
This file contains 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
#!/usr/bin/env osascript | |
# Import Chrome History | |
tell application "Safari" to activate | |
tell application "System Events" | |
keystroke "i" using {option down, command down} | |
key code {49, 48, 48, 49} | |
keystroke return | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment