• 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: Return Delimiter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return Delimiter


  • Subject: Re: Return Delimiter
  • From: Adam Bell <email@hidden>
  • Date: Tue, 16 Jan 2007 13:09:06 -0400

Title: Re: Return Delimiter
Several things to worry about. Most likely in this case is that file myRefNumber isn't return delimited - it's using unix endings (ASCII character 10, or it's from a Windows machine using return & lineFeed (ASCII character 10). Finally, if the text is unicode, you'll have to account for that.

At 11:54 AM -0500 1/16/07, Steven Valenti wrote:
I'm trying to set my delimiter to "Return" reading a file but it's not work in Script Editor. Funny thing is that it does work in Script Debugger but this isn't on the machine I'm deploying it to so I wish to make it work with Script Editor. I end up with just a list of 1 item so the last line errors. Anyone know anything about this or do I need to make a return character differently? I simply hit a return in between two quotes.

set DataInfo to read MyRefNumber using delimiter "
" as list for 500
set TheProcess to item 2 of DataInfo --errors here

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

This email sent to email@hidden

 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Return Delimiter
      • From: Steven Valenti <email@hidden>
    • Re: Return Delimiter
      • From: KOENIG Yvan <email@hidden>
References: 
 >Return Delimiter (From: Steven Valenti <email@hidden>)

  • Prev by Date: Return Delimiter
  • Next by Date: Re: Return Delimiter
  • Previous by thread: Return Delimiter
  • Next by thread: Re: Return Delimiter
  • Index(es):
    • Date
    • Thread