Thanks Jeff. I am interfacing with iCal by creating .ics files that can be imported into iCal, but I use a lot of data fields that aren't available in iCal so don;t think I could use it as my main data storage vehicle. I am looking at using the Mac address book though since it seems to fit my needs pretty nicely, just have to learn Applescript to develop some sort of interface I guess.
Pete Haworth







On Feb 21, 2010, at 3:11 AM, [email protected] wrote:

Message: 10
Date: Sat, 20 Feb 2010 14:39:09 -0600
From: Jeffrey Massung <[email protected]>
Subject: Re: How to enter a time of day
To: How to use Revolution <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Pete,

If your app runs exclusively on the Mac you may want to just look at integrating iCal into it with AppleScript and handle it that way...

When your app launches or whenever is appropriate, let the user select a calendar file that's exclusive to your app. The user could open it in iCal to adjust things or open it through your app. You could likely then use AppleScript to get various date/times from it to do your tasks.

I don't use iCal (much) and have never looked to see what functionality is provided for it through AppleScript. But you may end getting a very win-win out of this: let the user thing "awesome!" because it "just works" with iCal and let's you relax and let iCal do most of the heavy lifting in this department. :-)

Jeff M.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to