Re: Scripting Palm Desktop
Re: Scripting Palm Desktop
- Subject: Re: Scripting Palm Desktop
- From: "Jason W. Bruce" <email@hidden>
- Date: Wed, 03 Oct 2001 18:33:15 +0000
Hi Irwin,
you can get calendar info and set categories as follows:
tell application "Palm Desktop"
set daylist to {}
set upperlimit to count of every event on day "1/31/2001"
repeat with loopvariable from 1 to upperlimit
set end of daylist to title of event loopvariable of day "1/31/2001"
set primary category of event loopvariable of day "1/31/2001" to
category (title of event loopvariable of day "1/31/2001")
end repeat
end tell
Jason Bruce
>
Message: 8
>
Date: Wed, 03 Oct 2001 06:38:02 -0500
>
Subject: Scripting Palm Desktop
>
From: Irwin Poche <email@hidden>
>
To: <email@hidden>
>
>
I have once again fooled myself into trying to do some AS'ing of the Palm
>
Desktop (ver 2.6.3).
>
>
After a couple of hours of experimentation I am at a total loss. I cannot
>
figure out how to get any calendar items at all.
>
>
The appropriate classes appear to be event and day event (see below) but no
>
matter what forms I use, I get back nothing. My eventual goal is to set the
>
primary category of all items based on their text.
>
>
-Irwin