[NTLK] applescript/CO help

From: Tom McDougal (tmcdougal_at_newted.org)
Date: Sat Dec 14 2002 - 14:06:18 EST


I need a jumpstart. Can someone who has Claris Organizer show me
Applescript code that would
  1) create a new appointment in Claris Organizer, with text "bogus appt"
and date "12/31/02" and time "16:00"
  2) change the date to 12/30

I tried this:
  tell application "Claris Organizer 2.0"
     set appt to (create appointment with date "12/31/02")
  end tell

but that just creates an appointment today (not 12/31)

I tried adding this:
     get appDate appt

which gave me the Execution Error
   "Can't get appDate of {objClass:<<class SAPP>>,
    objNumber:6, objInstance:-1}"

Clearly there is something fundamental I am missing here. Maybe all I need
is help deciphering that error message.

Thanks in advance!
-Tom McDougal
TMcDougal_at_newted.org

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Wed Jan 01 2003 - 10:02:26 EST