Re: Applescript LetterRip Server
Re: Applescript LetterRip Server
- Subject: Re: Applescript LetterRip Server
- From: Jeff Grossman <email@hidden>
- Date: Mon, 19 May 2003 13:35:18 -0700
on 5/19/03 1:23 PM, Michelle Steiner at email@hidden wrote:
>
On Monday, May 19, 2003, at 12:34 PM, Jeff Grossman wrote:
>
>
> Thanks for the help Paul. It is getting much better. Now, the script
>
> runs
>
> for a while, creates a file, puts some data in it, but eventually
>
> comes back
>
> with a "Stack Overflow". Any ideas?
>
>
Change this:
>
>
repeat with theSub in subs
>
set theName to name of theSub
>
set theAddress to email address of theSub
>
my WriteFile(FishadsAddressFile, theName, theAddress)
>
end repeat
>
>
to this:
>
>
repeat with loop from 1 to count (subs)
>
set theName to name of (item loop of subs)
>
set theAddress to (email address of item loop of subs)
>
my WriteFile (FishadsAddressFile, theName, theAddress)
>
end repeat
Michelle, thank you for your help. I do apologize for not thanking you
earlier. You have been extremely helpful. I will go and make these changes
right now and see how it works out. I do have one question though. In the
later code, should I have:
close access FishadsAddressFile
to WriteFile(theAddressFile, aName, anAddress)
write aName & tab & anAddress & return to theAddressFile
end WriteFile
Or should it be:
close access FishadsAddressFile
to WriteFile(FishadsAddressFile, aName, anAddress)
write aName & tab & anAddress & return to FishadsAddressFile
end WriteFile
--
Jeff Grossman (email@hidden)
Director - Information Systems, Turner's Outdoorsman
http://www.turners.com
_______________________________________________
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.