The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
newbie printing question Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hi

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
print
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?
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question about how to get set up oakland Applying OmniFocus 3 2011-01-29 09:15 AM
Newbie question kint OmniFocus 1 for Mac 3 2008-06-14 04:31 AM
newbie question bug_girl OmniFocus 1 for Mac 3 2007-12-17 01:14 PM
newbie question ran OmniFocus 1 for Mac 1 2007-11-28 01:55 PM
another newbie question cjb10350 OmniFocus 1 for Mac 0 2007-11-18 06:41 AM


All times are GMT -8. The time now is 12:41 AM.


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