AutoHotkey Community

It is currently May 25th, 2012, 9:16 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 16th, 2007, 6:50 pm 
Offline

Joined: October 21st, 2006, 7:00 pm
Posts: 21
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2007, 6:51 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
FileRead
If InStr()

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2007, 6:53 pm 
Offline

Joined: October 21st, 2006, 7:00 pm
Posts: 21
OK, I can live with that :D

Thanks,
John B.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Bing [Bot], dmg, Exabot [Bot], Google Feedfetcher, Klark92, MilesAhead, rbrtryn, tomL and 75 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group