Text To Outlines
require 'rubygems'
require 'appscript'
include Appscript
idApp = app('Adobe InDesign CS4')
myDoc= idApp.make(:new => :document)
myFrame = idApp.documents[1].pages[1].make(:new => :text_frame)
myFrame.geometric_bounds.set(['6p', '6p', '18p', '18p'])
myFrame.contents.set("Hello Ruby World!")
myFrame.create_outlines