The Omni Group Forums

The Omni Group Forums (
-   AppleScripting Omni Apps (
-   -   newbie printing question (

artimus_aardvark 2009-03-27 05:29 AM

newbie printing question

I'm very new to applescripting and I just beginning to discover the power it offers. My first useful script for omnioutliner pro makes a new document containing all of the checked items in another list and then prints this new list out. This is the problem I can't get the printing to work.
Using this code

tell application "OmniOutliner Professional"
set newList to make new document at beginning of documents
-- populate newList with stuff
tell newList
end tell
end tell

gives an error saying that the document doesn't understand the print message. The new document is getting created and filled with the right details.
Any ideas what I'm doing wrong?

All times are GMT -8. The time now is 01:08 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.