Re: Process all files in directory
Re: Process all files in directory
- Subject: Re: Process all files in directory
- From: Alex Zavatone <email@hidden>
- Date: Tue, 02 Mar 2010 10:56:31 -0600
You can do something like "for each file in" or "for every file in"
On Mar 2, 2010, at 10:20 AM, email@hidden wrote:
> Hello there,
>
> in Perl I'd read all files into an array and then go through it with while or foreach. But I have no idea how to do that in AppleScript and I couldn't find a lot of AppleScript examples on the internet.
>
> Actually, what I'd like to do is to open a large number of text files in TextEdit and then save them with another text encoding (for some reason – don't ask me why – iconv fails in this case).
>
> I hope you can help me with this (since I'm a complete AppleScript beginner)
>
> Bob from Germany
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> applescriptobjc-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden