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
-- 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 |