Skip to content

Instantly share code, notes, and snippets.

@robjwells
robjwells / Open in Chrome.applescript
Last active March 24, 2020 02:32 — forked from prenagha/Open In Chrome.scpt
Open current Safari URL in Chrome
-- Open current Safari URL in Chrome
--
-- Forked from https://gist.github.com/3153606
-- which was forked in turn from https://gist.github.com/3151932
tell application "System Events"
-- Check if Chrome is running
set chromeRunning to ((name of processes) contains "Google Chrome")
end tell