• 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
returning math answers given a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

returning math answers given a string


  • Subject: returning math answers given a string
  • From: Michael Glasser <email@hidden>
  • Date: Sat, 25 Jan 2003 11:41:46 -0700

Is there any way to have AppleScipt read a text message such as "what is 3 + 3" and have it calculate the math so it can return the answer (6, I believe. :) )

I would also like it to be able to do other math operations, and recognize other terms like "plus" instead of "+".

Anyone ever do this before? Is there a semi-simple / efficient way?

If I need to have it parse the text in some clever way that is fine, I do not need it to do large numbers... single digit would be good, double digit would be great, triple would be overkill.

Thanks in advance
_______________________________________________
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: returning math answers given a string
      • From: John Stewart <email@hidden>
    • Re: returning math answers given a string
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: A different question (Was: Re: structured data storage?)
  • Next by Date: Re: On Browser Protocols...
  • Previous by thread: Truncating phantom characters
  • Next by thread: Re: returning math answers given a string
  • Index(es):
    • Date
    • Thread