• 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
Set variable to contents of incoming message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set variable to contents of incoming message


  • Subject: Set variable to contents of incoming message
  • From: Tony Bennett <email@hidden>
  • Date: Fri, 17 Aug 2012 10:55:49 -0500

I want to assign the content of an incoming message to a variable which will be parsed and saved to a file.  The script will be called from a Mail rule.
I just need help with getting the data into this variable. Here is an example of the message content:

(next line begins content)
Finished Cycle: Aug 17, 2012 9:23:19
Route: New Route
Google Maps URL: http://maps.google.com/?q=http://share.abvio.com/5137/9927/4e69/fc3c/Cyclemeter-Cycle-20120817-0836.kml
Import URL: http://share.abvio.com/5137/9927/4e69/fc3c/Cyclemeter-Cycle-20120817-0836.kml
Ride Time: 46:06
Stopped Time: 0:21
Distance: 10.76 miles
Average: 14.01 mph
Fastest Speed: 29.07 mph
Ascent: 787 feet
Descent: 393 feet
Calories: 855

http://www.cyclemeter.com
(above line ends content)




Thanks,
Tony
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Set variable to contents of incoming message
      • From: Neil Laubenthal <email@hidden>
    • Re: Set variable to contents of incoming message
      • From: Neil Laubenthal <email@hidden>
    • Re: Set variable to contents of incoming message
      • From: Lists <email@hidden>
    • Re: Set variable to contents of incoming message
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Next by Date: Re: Set variable to contents of incoming message
  • Previous by thread: Re: Mailing list errors?
  • Next by thread: Re: Set variable to contents of incoming message
  • Index(es):
    • Date
    • Thread