Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

perishingflames

perishingflames Avatar

***
Dedicated Member

193


March 2007
Hi,

I was hoping someone who had some experience with writing applescript code could point me in the right direction for writing this code (I have no experience with applescript):

Hard to explain but here goes..

Basically, there is a directory full of text files. All of them have two lines:
name = "x";
author ="y";

I want it to pull out this data from each text file, and write them all to a separate text file. Each line in the generated file:
X by Y
With each text file having its data on its own line.

Can this be done? If so, can you give me some information, websites with useful information, your own information, writing part of the code, etc. Any help appreciated.


newBookmarkLockedFalling