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 > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Evading Print on Print Dialog Thread Tools Search this Thread Display Modes
I'm trying to write a little script that will print my perspective "mornings". I'm trying to set it up to do so every morning, automatically, using cron, and without my intervention.

I've got
print perspective "mornings"

But that opens the print dialog, which then waits for me to hit the enter key or press the print button.

Any advice?

James Pelton
 
Code:
print perspective "mornings" without print dialog
 
Just curious if you ever had any luck writing a script that would allow you to print a specific perspective? I'd like to have OmniFocus automatically open and print a perspective for work so that when I wake up I can grab my to-do list off the printer.

Is that possible? I know nothing about AppleScript.
 
An applescript containing the following code (with the first line amended to specify the name of the required perspective) should do what you need:

Code:
property pPerspectiveNeeded : "Due"

tell application "OmniFocus"
	activate
	print perspective pPerspectiveNeeded without print dialog
end tell
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Canvas not to print MatthewS OmniGraffle General 0 2012-03-23 10:16 AM
How to print with due dates? lorew OmniFocus 1 for Mac 1 2011-02-04 03:32 AM
Can't print Tate OmniFocus 1 for Mac 2 2007-11-05 10:31 AM
No preview page control on print dialog Jeff OmniPlan General 1 2007-04-26 09:48 AM


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


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