View Single Post
PS I would tend to try first with the application, on the model of:
Code:
te = Appscript.app("TextEdit.app")
te.make(:new => :document)
or perhaps more relevantly:
Code:
te = Appscript.app("TextEdit.app")
te.make(:new => :document, :with_properties => {:text => "Hello, World!"})
te.make(:new => :word, :with_data => "Wonderful ", :at => te.documents[1].words[1].after)
http://www.apeth.com/rbappscript/06c...rtionlocations

--

Last edited by RobTrew; 2011-11-14 at 07:46 PM..