• 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: iCal 1.5.1 scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iCal 1.5.1 scripting


  • Subject: Re: iCal 1.5.1 scripting
  • From: "David A. Cox" <email@hidden>
  • Date: Thu, 16 Oct 2003 16:06:15 -0700 (PDT)

No luck on making iCal a bit happier with fiddled text files so far, so I
guess I need to look into the applescript solutions a bit more.

I would like to add an alarm to all of the events in a specific calendar
(named CT in my case), but I can't seem to get my head around how to
target all the events of a calendar (or how to work the syntax of the
alarm event). Does anyone have a sample I could learn off of?

The other thing I would like to do is to modify the name of each event in
a calendar to include the location of the event in the name. I am after
this becuase my iPod does not have any way to show me the location of a
meeting, so I want to wedge it into the name of the meeting itself.

Any help would be great....

DAC


On Tue, 14 Oct 2003, David A. Cox wrote:

> This brings up a point that has messed me up with the new version.
>
> I have a script that sucks an ical file out of my corperate shared cal.
> and hands it off to a perl script to clean the file, and then opens the
> fixed .ics file in iCal. It worked well enough in the last version. But
> the new version barfs if I try to modify the ics file too much. Basicaly,
> I can remove items, but I can't add items back in.
>
> For example, I was replacing "END:VEVENT" with
> "BEGIN:VALARM
> TRIGGER:-PT15M
> ACTION:DISPLAY
> DESCRIPTION:Event reminder
> END:VALARM
> END:VEVENT"
>
> In order to get alarms set on each message that is imported.
>
> Does anyone have any insite or resources on what iCal can open as far as
> ics files go? I can look at doing more of this in applescript, but the
> perl bit was working so well for so long....
>
> DAC
>
> On Wed, 8 Oct 2003, Paul Berkowitz wrote:
>
> > On 10/8/03 7:34 AM, "Todd Geist" <email@hidden> wrote:
> >
> > > I was just wondering if anybody has had a chance to look at the new version
> > > of iCal. Has Applescript functionality been improved.
> >
> > Alarms are now scriptable, for a start. All types of alarms: sound alarm,
> > display alarm, mail alarm, open file alarm. They all have a 'trigger
> > interval' property:
> >
> > trigger interval integer -- The interval in minutes between the event
> > and the alarm: (positive for alarm that trigger after the event date or
> > negative for alarms that trigger before)
> >
> > sound alarm has a sound name (Unicode) property, and open file alarm has a
> > filepath (POSIX path) property in addition.
> >
> > --
> > Paul Berkowitz
> > _______________________________________________
> > applescript-users mailing list | email@hidden
> > Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
> > Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: iCal 1.5.1 scripting (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: dropStuff
  • Next by Date: Re: dropStuff
  • Previous by thread: Re: iCal 1.5.1 scripting
  • Next by thread: POSIX paths query
  • Index(es):
    • Date
    • Thread