on 2/15/08 12:01 PM, Ronald J Kimball at [EMAIL PROTECTED] wrote:

>> Yes, the HTML code works just fine without a return, but returns in the
>> correct place definitely makes HTML code easier to read. I've tried adding
>> \\r in between but AppleScript just adds the characters /r to the file, not
>> an actual line return. Haven't been able to find anything in the AppleScript
>> Dictionary for BBEdit.
> 
> You used \\r in the AppleScript, but /r was added to the file?  Or is that
> just a typo in your email?

Yes, just a typo in the eMail. Since posting my issue someone suggested
adding just \r to the script. However, all that does is cause a line return
to the script itself when the script is compiled. When the script is run on
the BBEdit file a vertical rectangular box in inserted at that location, NOT
an actual line return. Undoubtedly that's an unknown ASCII character. I had
earlier found this to be the case by manually adding a line return into the
AppleScript.

There surely must be a way to add a sequence into the AppleScript which will
insert a genuine ASCII-13 character when run, which is my intention, not
just when compiled. (From memory I believe the ASCII code for a line return
is 13).

Any thoughts?



Morley Chalmers
--
Do not worry if you have built your castles in the air. They are where they
should be. Now put the foundations under them. -- Henry David Thoreau



-- 
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to