Re: Unquoting a string
Re: Unquoting a string
- Subject: Re: Unquoting a string
- From: Steven Angier <email@hidden>
- Date: Mon, 15 Jul 2002 09:51:28 +1000
On 15/7/02 9:32 AM, "Robert Stretch" <email@hidden> wrote:
>
So my question is, after all
>
that, how do I make it so that AppleScript recognizes the equation for
>
what it is supposed to be, an unquoted equation, and calculate it?
You have to use run script:
set theText to text returned of (display dialog "Please enter a calculation"
default answer "" with icon 1)
set theResult to run script theText
return theResult
Steven Angier
Macscript.com
_______________________________________________
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.