Created
February 15, 2015 15:57
-
-
Save Krishna/0e143311632051d59b69 to your computer and use it in GitHub Desktop.
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
def open_links_in_safari(project_links) | |
project_links_arguments = project_links.join(" ") # project_links in an array of url strings | |
cmd_line = "osascript newsafariwindow.scpt #{project_links_arguments}" | |
system(cmd_line) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment