Re: Using list from text file to create folder, search, and copy
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: email@hidden (Christopher Rosado)
- Date: Mon, 2 Feb 2004 13:15:45 -0500
Hi Walter-
Thanks for your help. To answer your question, I will create each text
file manually.
I've created my text document. "find.txt" as discussed and have run the
script only to get this error "End of file" @
read fref for 1 -- skip return
Here's what I'm running:
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
read fref for 1 -- skip return
set fileList to every paragraph of (read fref)
close access fref
{folderName, fileList}
Any idea why I'd get that error?
Thanks,
--Christopher
_______________________________________________
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.