• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
date from eudora to appleworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: date from eudora to appleworks
      • From: John Delacour <email@hidden>
References: 
 >Re: checkboxes (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: What are the elements listed in a dictionary?
  • Next by Date: Re: date from eudora to appleworks
  • Previous by thread: printing and scripting
  • Next by thread: Re: date from eudora to appleworks
  • Index(es):
    • Date
    • Thread