• 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
read using delimeter command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

read using delimeter command


  • Subject: read using delimeter command
  • From: Peter Long <email@hidden>
  • Date: Sat, 22 Dec 2001 23:52:45 -0800

If I use a carriage return, this works. But if I use some odd-ball character like the infinity symbol, it doesn't. Am I missing something?

set myTextinput to choose file with prompt "Select the file " & "."
set splitAt to ""
tell application "Finder"
set myFiles to read myTextinput using delimiter splitAt as text
set myNumberOfFrames to (count myFiles)
display dialog myNumberOfFrames
end tell
--
Peter Long (email@hidden)
Lost Moose Publishing
http://www.yukonweb.com/business/lost_moose/
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
K-L Services http://www.yukonweb.com/business/lost_moose/books/k-l/k-l_frame.html
58 Kluane Crescent
Whitehorse, Yukon, Y1A 3G7, Canada
867-668-5076, fax:867-668-6223
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


  • Prev by Date: Getting keyboard status in X
  • Next by Date: Scripting in Word using Styles
  • Previous by thread: Re: Getting keyboard status in X
  • Next by thread: Scripting in Word using Styles
  • Index(es):
    • Date
    • Thread