• 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: email@hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email@hidden


  • Subject: Re: email@hidden
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Mon, 25 Oct 2004 10:45:18 -0500

On Oct 24, 2004, at 11:53 PM, Michelle Steiner wrote:
On Oct 24, 2004, at 8:30 PM, doug rogers wrote:

set AppleScript's text item delimiters to {return}
set TheItems to text items of TheItems
set AppleScript's text item delimiters to {","}
set TheItems to text items of TheItems
set AppleScript's text item delimiters to {""}

The contents of the field come in as a return delimited string, and pass
through this code unchanged.

There is a mismatch between Applescript's value of return being ascii 13 and the return in your source text (which can be as easy as typing the return key within a script) being ascii 10.

Also, if you want a string back, you'll have to ask for it properly: ... set AppleScript's text item delimiters to {","} set TheItems to TheItems as string ...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >email@hidden (From: doug rogers <email@hidden>)
 >Re: email@hidden (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Creating a chart or graphic line...
  • Next by Date: Re: Tell "Finder" to print with properties
  • Previous by thread: Re: email@hidden
  • Next by thread: Re: switching text delimiters (was: email@hidden)
  • Index(es):
    • Date
    • Thread