• 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: Compare two AppleScripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compare two AppleScripts


  • Subject: Re: Compare two AppleScripts
  • From: Christopher Stone <email@hidden>
  • Date: Sat, 28 Apr 2018 06:30:06 -0500

On 04/28/2018, at 06:14, Shane Stanley <email@hidden> wrote:
Maybe it's something to do with my preference settings, but I don't see any confusion happening in BBEdit. All the linebreaks appear the same in the BBEdit documents, regardless of whether they were originally linefeeds or carriage returns.


Hey Shane,

Paste this into a blank script document and compile.

set x to "This is it!
"
tell application "Finder"

    

end tell

Then select “Edit in BBEdit”

See what you get.

I get this little mess:


This issue has been around a long time and depends upon what the EOL character is in the first line.

--
Take Care,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Compare two AppleScripts
      • From: 2551phil <email@hidden>
    • Re: Compare two AppleScripts
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Compare two AppleScripts (From: Nigel Garvey <email@hidden>)
 >Re: Compare two AppleScripts (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Compare two AppleScripts
  • Next by Date: Re: Compare two AppleScripts
  • Previous by thread: Re: Compare two AppleScripts
  • Next by thread: Re: Compare two AppleScripts
  • Index(es):
    • Date
    • Thread