Re: run script
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