Skip to content

Instantly share code, notes, and snippets.

@dardo82
Created December 7, 2020 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dardo82/22418644ded3213ba1cfac9ceede0349 to your computer and use it in GitHub Desktop.
Save dardo82/22418644ded3213ba1cfac9ceede0349 to your computer and use it in GitHub Desktop.
Import Chrome History
#!/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