structured data storage?
structured data storage?
- Subject: structured data storage?
- From: "Michael P. Wilson" <email@hidden>
- Date: Thu, 23 Jan 2003 10:53:07 -0500
Top o' the morning to ya.
I've been lurking here for a couple months, reading some online docs,
puttering around with some things, and I've come up with a "Hello
World" AppleScript project idea that I need some help with. (I'm a 26
year veteran programmer, but AS is a really strange environment, even
being a perl monk and a high-end C++ weenie.)
What I want to do is flag incoming emails (in the standard Jaguar Mail
app) that belong to a particular category (I already have these emails
filtered to a specific folder) and I want the source email address and
the datestamp to be saved in some (external?) location. Then I want to
test those date times against a similar table of "last date time I sent
an email TO that address".
The goal is a rudimentary contact "tickler" that'll say a couple things:
1) "You've received an email from this person, but haven't responded
within N days"
2) "You've not sent an email to address X in Y days."
These two are distinct only because "N" and "Y" are different.
Otherwise they're fairly similar semantically.
But I'm having a bit of trouble figuring out how to store these two
tables. I don't want to rely on nonstandard software components
(Otherwise I'd just buy filemaker or something and slam stuff in there.)
So my questions really are:
Is the next best thing really just to blast this all out as a couple
text files in some standard ${HOME}/... location and re-parse them
every time?
Should I be triggering this script off the filter rules or as an
independent script? A rule trigger would work well for #1 above. But
I'd want #2 to be run nightly, as through a cron job because it's an
awfully big test to be running every time I get an email from someone.
I'd very much rather keep them in the same script.
If I'm missing some basic documentation someplace please feel free to
point me to TFM that I may R it.
Thanks for your time,
Mike
-
"Thus nature has no love for solitude, and always leans, as it were, on
some support; and the sweetest support is found in the most intimate
friendship." - Cicero
http://radio.weblogs.com/0108194/
_______________________________________________
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.