• 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: Using list from text file to create folder, search, and copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using list from text file to create folder, search, and copy


  • Subject: Re: Using list from text file to create folder, search, and copy
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 3 Feb 2004 11:06:49 +1100

On Feb 3, 2004, at 10:21 AM, Christopher Rosado wrote:

Still getting "End of file error". The error is now occurring @ (read
fref)

set desktopPath to (path to desktop) as string
set datafile to desktopPath & "find.txt"
set fref to open for access alias datafile
set folderName to read fref before return
set fileList to every paragraph of (read fref)
close access fref
{folderName, fileList}

What, exactly, is in the file?

--
Shane Stanley <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Shell-wrap a file in 2 variable strings (From: Gnarlodious <email@hidden>)
 >Re: Shell-wrap a file in 2 variable strings (From: Axel Luttgens <email@hidden>)
 >Using list from text file to create folder, search, and copy (From: email@hidden (Christopher Rosado))
 >Re: Using list from text file to create folder, search, and copy (From: Walter Ian Kaye <email@hidden>)
 >Re: Using list from text file to create folder, search, and copy (From: email@hidden (Christopher Rosado))
 >Re: Using list from text file to create folder, search, and copy (From: Shane Stanley <email@hidden>)
 >Re: Using list from text file to create folder, search, and copy (From: email@hidden (Christopher Rosado))

  • Prev by Date: Re: Command Line Fix for Locked Files?
  • Next by Date: Re: Using list from text file to create folder, search, and copy
  • Previous by thread: Re: Using list from text file to create folder, search, and copy
  • Next by thread: Re: Shell-wrap a file in 2 variable strings
  • Index(es):
    • Date
    • Thread