Glen said:
http://www.macdevcenter.com/pub/a/mac/2007/02/27/replacing-applescript-with-ruby.html?page=2
--
"Hey brother Christian with your high and mighty errand, Your actions
speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)
Thanks, but for some reason, I can't install rb-appscript. I get this
error:
Building native extensions. This could take a while...
ERROR: Error installing rb-appscript:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb install rb-appscript
can't find header files for ruby.
Gem files will remain installed in
/Library/Ruby/Gems/1.8/gems/rb-appscript-0.5.1 for inspection.
Results logged to
/Library/Ruby/Gems/1.8/gems/rb-appscript-0.5.1/gem_make.out
roboticbuddha:documents User$ ruby mergeAMdata.rb
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- appscript (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from mergeAMdata.rb:7