• 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
find a string in a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find a string in a file


  • Subject: find a string in a file
  • From: "Ruby Madraswala" <email@hidden>
  • Date: Fri, 23 May 2003 15:09:14 -0400
  • Thread-topic: writing and retrieving comments from document files?

Hi,
I am trying to process files that contains "%%" and the simple test script does not work. (running on OS 9.2.2).

Set efile to "EEHD:efile9.txt"
If efile contains "%%" then
Display dialog "Found"
End if

Also tried
Set efile to "EEHD:efile9.txt"
Set SrhText to "%%"
If efile contains SrhText then
Display dialog "Found"
End if


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: Help with Entourage & attachments
  • Next by Date: Making Word windows invisible or small
  • Previous by thread: Re: Crontab message to user
  • Next by thread: Re: find a string in a file
  • Index(es):
    • Date
    • Thread