At 04:31 -0700 4/30/07, Ian Underwood wrote:
>1. Make a script that will show me the hex value of any of the  characters, 
>particularly this end of line character. I have  not been  able to find a 
>command in BBEdit to do this but would be happy to  have it pointed out to me 
>if it exists.

Check out the File Menu, Hex Dump options.

>2. Change the end of line character in BBEdit to one that Final Cut  Pro or 
>Motion will recognize as a new line character.

BBEdit uses the RETURN 0A or \r character for returns internally for all files. 
It is only when you save to disk that the line ends are converted to what you 
have asked for. Files opened for editing get changed to internal format as they 
are read into memory but the file itself is not changed until saved.

"Copy" to the system clipboard and "Get" requests from an AppleScript generally 
do something one does not want. I, for one, am continually frustrated by that, 
especially when I really need to edit files that use different line ends for 
different purposes.

"Line ending confusion with text factories" is the subject line for some recent 
discussion with some AppleScript work-arounds. Have al look at the list 
archives.
-- 

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.

-- 
------------------------------------------------------------------------
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