date from eudora to appleworks
date from eudora to appleworks
- Subject: date from eudora to appleworks
- From: Christian Vinaa <email@hidden>
- Date: Sun, 23 Mar 2003 16:37:56 +0100
i have a script that takes data from an eudora email (result of a
form field input from a webpage) and puts it into a appleworks SS
this works ok, but how should I tackle when some form fields are left empty ?
the script basically does this:
EUDORA PART:
set emailtextNavn to (REMatchLines bodyText pattern textTofindNavn)
-- uses RegEx Commands
tokenize (emailtextNavn) with delimiters myDelim1 -- uses ACME Script Widgets
set emailNavn to item 2 of result
and
APPLE WORKS PART
set column 3 in row 5 of spreadsheet of document 1 to emailNavn
so I need something that will stop the script from stopping if there
is no item 2 in result and therefore no content of emailNavn
what gives ?
--
Christian Vinaa
email@hidden
...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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.