find a string in a file
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.