ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Replacing AppleScript with Ruby
Subject:   passing requests from applescripts to rb-appscripts
Date:   2008-04-08 20:43:43
From:   gauvins

tell application "Terminal"
do script "ruby test2.rb /Users/gauvins/Desktop/test.txt"
end tell


see below for some context. In a nutshell, direct calls from the Script Editor do not execute properly because paths are broken.