• 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
run script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

run script


  • Subject: run script
  • From: Nicolas Descombes <email@hidden>
  • Date: Wed, 24 Oct 2001 23:38:24 +0200

Hello,

I'm french and I'm sorry for my english.
I would want, with a dialog box, enter a formula with one or more variables.
I tried with this script but AppleScript wants that I define the variable

[Script]
set Dialogue_2 to display dialog "Type formula" default answer ""
set Formula to text returned of Dialogue_2--for exemple : x+x
set x to 2
set total to (run script Formule)--normally equal to 4
[/Script]

How can I do to define the variable and obtain a result for my formula


  • Follow-Ups:
    • Re: run script
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Recommendations for AppleScript Formatting
  • Next by Date: Re: Eudora weirdness when failing to set a var to selected text
  • Previous by thread: Re: Deleting paragraphs in quark
  • Next by thread: Re: run script
  • Index(es):
    • Date
    • Thread