• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to grab Now calendar categories & choose in dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to grab Now calendar categories & choose in dialog?


  • Subject: Re: How to grab Now calendar categories & choose in dialog?
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 18 Jan 2002 15:22:32 -0500

on 02-01-18 12:59 PM, Andrew Hinton at email@hidden wrote:

> I need the categories to be assigned appropriately, for things like Clients,
> Personal, etc. So, just because it's a Meeting or a To-Do doesn't mean it
> helps to default to only one category.

This thread is starting to stir a memory in me that assigning an event to a
category simply doesn't work in NUDC, via AppleScript. Actually, I think
that's the case with contacts in Now Contact, but not with events in Now
Up-to-Date. I'm sure I explained the situation in one or several of the
example scripts that ship with the 4.0 product. It would most likely be in
the "Category Object" script in the "Now Up-to-Date Objects" or "Now Contact
Objects" folder in "Example Scripts".

Ah, here we are:

As to Now Contact: "You cannot make new categories using AppleScript. Also,
you cannot assign categories to persons using AppleScript."

As to Now Up-to-DateI I explain in the "Category Object" script that
categories are objects which contain events. That may seem backwards, but if
you think like an object it might work for you. So, when you want to assign
a category to an event, what you really have to do is assign the event to
the category. That is, 'make new event in category "X" of ...', or something
like that. I think some of the other examples show this in action, but maybe
this will put you on the right track.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont


  • Follow-Ups:
    • Re: How to grab Now calendar categories & choose in dialog?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: How to grab Now calendar categories & choose in dialog? (From: Andrew Hinton <email@hidden>)

  • Prev by Date: Display Dialog Truncation Bug in OS -Please Help, Chris N.
  • Next by Date: Re: using terms from
  • Previous by thread: Re: How to grab Now calendar categories & choose in dialog?
  • Next by thread: Re: How to grab Now calendar categories & choose in dialog?
  • Index(es):
    • Date
    • Thread