Re: Palm Desktop categories
Re: Palm Desktop categories
- Subject: Re: Palm Desktop categories
- From: Chris Page <email@hidden>
- Date: Sat, 28 Jun 2003 15:38:29 -0700
On Thursday, Jun 26, 2003, at 20:25 US/Pacific, Tree Tech wrote:
1. I seem to have a script that creates the event, names it, sets
date date, time and alarm. But I can't figure out how to set a
primary category in Desktop. A little help please?
Set the 'primary category' property of the event to a category object.
You can specify categories by name or index, so you could write:
set the primary category of event foo to category "Business"
If the category doesn't exist, you'll need to create it beforehand,
e.g.:
if not (exists category "Homestar") then
make new category with properties {name:"Homestar"}
end if
set the primary category of event foo to category "Homestar"
2. How can I best format the date and time in FileMaker to create the
date/time in the Desktop event? Is it a total number of seconds for
the date and time? (Date * 86400) + time?
The event 'start time' and 'end time' properties are date objects. What
kind of information are you getting from FileMaker? If it's a date,
then just set the event properties. Otherwise, you'll need to create a
date from the FileMaker information at hand.
--
Chris Page - Software Wrangler - Palm, Inc.
That's "Chris" with a silent *and* invisible "3".
_______________________________________________
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.