HeavenlyDemon Posted August 2, 2011 Share Posted August 2, 2011 how can i search for a specific string in a file $input = GUICtrlCreateInput("", 8, 16, 593, 21) $read = GUICtrlRead($input) $open = FileOpen(@WorkingDir & "\data.txt") $fileread = FileRead($open) what is next ? Link to comment Share on other sites More sharing options...
Maffe811 Posted August 2, 2011 Share Posted August 2, 2011 StringInStr - Checks if a string contains a given substring. Does that work? [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] Link to comment Share on other sites More sharing options...
wakillon Posted August 2, 2011 Share Posted August 2, 2011 Look at _ReplaceStringInFile Function. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now