Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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