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 Today's Posts

 
Create Calendar Toolbar script Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Please note: if you type in the name of an existing calendar at the prompt, it will intentionally delete all the data from that calendar, this script is intended for creating or refreshing calendars specific to OmniFocus - read on for details.

The attached script can be used in the toolbar to create a calendar view of tasks being displayed in the current OmniFocus window.

The user is prompted to confirm the name of the calendar. The default is to use the perspective name, or the name of what is being focused on.

You can then tell the script to one or more of the following:

Create Events for Start Dates
Create Events for Due Dates
Create ToDos for tasks that have dates
Create ToDos for tasks that do not have dates
Create Events as All Day Events

In the script source you can also easily set the name of the created calendar so as not to be prompted, set any preference default, and turn off the prompt for preferences.

The script will then create the calendar if it does not already exist, or wipe it clean if it does and create the events and todos you requested.

This is not a sync, no information flows from iCal back to OmniFocus. If you complete a todo in iCal created by this script it does not complete it in OmniFocus (though this could be added as a feature).

An OmniFocus URL link is placed in each iCal item to link you back OmniFocus.

You could easily run the script twice to create a pair of calendars for start and due dates.

To Install:
Copy to ~/Library/Scripts/Applications/OmniFocus/

Then choose Customize toolbar by right clicking on the OmniFocus toolbar, drag this script's icon onto the toolbar

http://www.ptone.com/misc/CreateCalendar.zip

Please post your feedback here. :cool:

-P

Last edited by ptone; 2007-12-21 at 02:28 PM.. Reason: changed from attachment to URL
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: Create Subcontext jeremyp OmniFocus Extras 1 2011-07-29 06:41 AM
Script to create Stencil lsamberg OmniGraffle General 0 2010-08-31 05:13 AM
New Create Calendar script posted ptone OmniFocus 1 for Mac 4 2009-12-29 09:13 AM
Automator script from toolbar not working hardcoreUFO OmniOutliner 3 for Mac 2 2008-04-03 07:13 PM
Script to create an email from a task in OF. Tinchohs OmniFocus Extras 3 2007-10-31 12:53 PM


All times are GMT -8. The time now is 09:51 PM.


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