• 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: Scripting Palm Desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripting Palm Desktop - one last question
      • From: Irwin Poche <email@hidden>
  • Prev by Date: re: Scripting Palm Desktop (slight curve)
  • Next by Date: Mac OS X Script Menu
  • Previous by thread: Re: Scripting Palm Desktop
  • Next by thread: Re: Scripting Palm Desktop - one last question
  • Index(es):
    • Date
    • Thread