| View previous topic :: View next topic |
| Author |
Message |
John B.
Joined: 21 Oct 2006 Posts: 21
|
Posted: Fri Nov 16, 2007 5:50 pm Post subject: Finding text string in a file without FileRead |
|
|
Hi,
This has probably been answered before, but running a search on "Find text in file" returns 35 pages of results. So...
Is there a straightforward way in AHK to search a file for a text string? All I need is a return value: Found/Not Found. I'm looking for a way to get around having to open the file and parse it for a matching string.
Thanks,
John B. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Nov 16, 2007 5:51 pm Post subject: |
|
|
FileRead
If InStr() _________________
(Common Answers) |
|
| Back to top |
|
 |
John B.
Joined: 21 Oct 2006 Posts: 21
|
Posted: Fri Nov 16, 2007 5:53 pm Post subject: |
|
|
OK, I can live with that
Thanks,
John B. |
|
| Back to top |
|
 |
|