indesign font functions
require 'rubygems'
require 'appscript'
include Appscript
pdfpath = File.expand_path('~')+'/Desktop/myTempFile.pdf'
filepath = File.dirname(__FILE__)+'/snippetsTestDocument.indd'
filepath = MacTypes::FileURL.path(filepath).hfs_path
idApp = app('Adobe InDesign CS4')
myDoc= idApp.open(filepath)
p myDoc.fonts.get
p idApp.fonts.get
# applFont = content.characters[1].applied_font.get
# fontFam = applFont.font_family.get