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

 
1.1 Beta 1 - Applescript Questions Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Is this the appropriate place for questions related to Applescript and the 1.1 beta?

First: I'm very pleased to see the improved scriptability of resource calendars. I've found the new subtract/add work time commands. Thank you!

I've successfully scripted schedule "exceptions" [subtract work time] but I'm not able to delete them via the standard delete command. There appears to be no object reference returned from the subtract work time command that can be used later to delete the exception. [If there was, I'd be storing it externally for later use, though I can get by without it.]

I can use a whose clause to locate the calendar day schedule for a specific date, but it doesn't appear the result can be used as the reference in the delete command.

I tried using add work time to "negate" the time period carved out by subtract. My work time was added, but I didn't like the looks of it in the calendar view in the user interface.

I'm not sure that's the right way to achieve my goal anyway. This issue can quite likely be my misunderstanding of how calendars are modeled in OmniPlan. It doesn't appear that there's a way to target these exceptions for delete.

What I'd like to be able to do is "clear" any or all of the exceptions created by the subtract work time command for any given day, and having that day "revert" back to the "default" calendar.

Is there a way to do that?

TIA.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
questions on point list in AppleScript roosterboy AppleScripting Omni Apps 0 2010-07-18 04:32 PM
New to OF - some questions hd28cat OmniFocus 1 for Mac 6 2009-10-21 03:43 PM
Questions on OF vballas OmniFocus 1 for Mac 2 2009-02-24 11:47 AM
beta 6 expires on September 13th -- get beta 6b smhaunch OmniPlan General 1 2006-09-12 12:39 PM
A few questions thecontinental OmniWeb General 3 2006-08-08 05:45 PM


All times are GMT -8. The time now is 03:57 AM.


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