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

Re: run script


  • Subject: Re: run script
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Thu, 25 Oct 2001 16:53:33 -0500

on 10/25/01 8:18 AM, has at email@hidden wrote:

> Nicolas Descombes wrote:
>
>> 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

> Way better than my French.:)

And comprehensively better than many Americans' English. ;-)

> The following script allows you to type in one or more lines of script by
> using semi-colons to indicate returns (since you can't use returns in the
> dialog), eg:

(SNIP)

> has


Ahh, but you can use returns in a dialog box. You just need to use the enter
key to dismiss the box, or of course click the button. example:

--
set r to return
set rr to (r & r)
set rrr to (rr & rr & rr)
-- set manyRs to rrr & ...just kidding

display dialog "Enter a few, short paragraphs." default answer (rrr & rr)
display dialog (text returned of result)
--

I've found this helpful to know on a few occasions, however I'm not sure if
it works with your situation.


bob.kalbaugh


References: 
 >Re: run script (From: has <email@hidden>)

  • Prev by Date: Re: Semi-Tan (Basic Guide to Scripting Terms?)
  • Next by Date: Re: Default AppleScript Formatting
  • Previous by thread: Re: run script
  • Next by thread: Re: run script
  • Index(es):
    • Date
    • Thread