On 7/12/04 12:13 pm, "Scott Haneda" <[EMAIL PROTECTED]> wrote:
> on 12/7/04 3:51 AM, Barry Wainwright at [EMAIL PROTECTED] wrote:
>
>>>
>>> Also, what is the best way to add real returns to the long theBody string
>>> and
>>> not get leading spaces when it is inserted?
>>
>> ??? I don't understand the question. 'Real returns' are what you just added
>> (return & return & return...). Where are you getting the leading spaces?
>
> What I meant was how to format AS code visually. I tried something like
> this:
> "this is a test" & return & "
> Some other test"
That will work, as will:
"this is a test
On two lines
Or maybe three"
As you note, only the first line is indented.
You can also use the option-return keystroke, which is a script continuation
character:
set x to "this is some text" & return & �
"with a second line" & return & �
"and a third"
Here you do get some sensible indentation.
However, all these tricks aside, many scripters simply get used to the fact
that line wrapping looks atrocious in script editor.
--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the All-New Entourage Help Pages? - Check them out:
<http://www.entourage.mvps.org/>
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>