• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
search and count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Launch Default Mail App attached the file
  • Next by Date: Re: Launch Default Mail App attached the file
  • Previous by thread: Re: Open file (indesign) without dialog missing fonts & missing links
  • Next by thread: Re: search and count
  • Index(es):
    • Date
    • Thread