Here are a couple of scripts to get you started. When searching for events within a certain category, it is best to use the category id number, so this first little script will generate a list of every available category by name and id number:
set all_Cats to {}
tell application "Palm Desktop"
set a to every category
repeat with b in a
set end of all_Cats to {b's id, b's name}
end repeat
end tell
all_Cats
-->{{24, "Boy Scouts"}, {1, "Business"}, {9, "Cathouse/Bus."}, {28, "Cathouse/Prof."}, {23, "Christmas"}, {25, "Church"}, {30, "Cindy"}, {27, "Commissioners"}, {18, "Computing"}, {14, "Crossword"}, {2, "Customers"}, {15, "Family"}, {26, "Friends"}, {3, "Friends/Family"}, {29, "Holiday"}, {10, "Information"}, {17, "Parables"}, {4, "Personal"}, {21, "Pet Doctor"}, {5, "Phone Call"}, {12, "Photos/Films"}, {16, "Priesthood"}, {11, "Scouting"}, {31, "SpanWard"}, {20, "Stake"}, {19, "Standard Works"}, {6, "Suppliers"}, {7, "Travel"}, {13, "Vacations"}, {22, "Veterinary"}, {8, "Work"}}
Once you have the category id number, this script will return a list of every event within a certain category and that has the word ‘meeting’ in it’s title:
tell application "Palm Desktop"
set myCat to (category id 11)
set myEvents to every event whose primary category is myCat and title contains "meeting"
end tell
-->{event id 1669 of application "Palm Desktop", event id 1726 of application "Palm Desktop", event id 1855 of application "Palm Desktop", event id 1895 of application "Palm Desktop", event id 1982 of application "Palm Desktop", event id 2153 of application "Palm Desktop", event id 2359 of application "Palm Desktop", event id 65767 of application "Palm Desktop", event id 65772 of application "Palm Desktop", event id 65773 of application "Palm Desktop", event id 65776 of application "Palm Desktop"}
As you can see, the event list is returned as a list of reference numbers to each event that meets the searched for criteria. Once you know which properties of each event you want to extract, you just tell the script to put that data into another list. For instance, if all you wanted was the date and title of each event, you might try this:
set myEventData to {}
tell application "Palm Desktop"
set myCat to (category id 11)
set myEvents to every event whose primary category is myCat and title contains "meeting"
repeat with ae in myEvents
set end of myEventData to {ae's title, (ae's start time)}
end repeat
end tell
myEventData
-->{{"Commissioner meeting - Spanaway Library", date "Thursday, January 15, 2004 7:00:00 PM"}, {"Commisioner meeting", date "Saturday, March 6, 2004 8:30:00 AM"}, {"Contact bishoprics for Commissioner meeting & Venture Roundtable Commissioner", date "Sunday, May 30, 2004 7:30:00 PM"}, etc., etc.}
I hope this helps you get started.