Created
September 13, 2014 00:38
-
-
Save cieux1/2c462235aa8e81dc7d2b to your computer and use it in GitHub Desktop.
open terminal and execute ruby file
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
| on run {input, parameters} | |
| tell application "Terminal" | |
| activate | |
| do script "cd /path/to/the/ruby/file && ruby do_that.rb && open "http://google.com" && exit" | |
| end tell | |
| return input | |
| end run |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for automator