Tuesday, September 19, 2006

Go get XPress - Part 6

It's been quite a while since the last post. Busy working on my bread and butter. Anyway, here is a sample code of insertText(aText), the 6th function of the suite of XPress bridge functions.

on insertText(aText)
  tell application "QuarkXPress"
    set contents of selection to aText
  end tell
end insertText

I will leave the last function for you to finish. The trackDown() function is optional and must be the most difficult part of the suite.

For upcoming posts, I will pick up more practical topics for the most translators. And more movie clips too.