search and count
search and count
- Subject: search and count
- From: "Ruby Madraswala" <email@hidden>
- Date: Mon, 18 Nov 2002 09:21:11 -0500
- Thread-topic: search and count
Hi All
I need help with a script. I want to:
1. open a text file. (Is simple text scriptable?)
2. search for a word "Data" always the first word of a line.
3. if found count number of pipes "|" in that line.
4. pass the count to the script.
Then I want to use the counter as part of the filename to open the file in quark. I am having problem with the first four steps. Any help will be appreciated.
Thanks in advance.
Ruby
_______________________________________________
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.