Jump to content

Recommended Posts

Posted

I have a directory full of text files which I need to search through periodically. Currently I use a dos grep command and do it by hand, but I would like to automate it. Is there an equivalent in AutoIt, or another way to do it?

Posted

That's what I was afraid you would say. I may have to do that at some point, it would make my life much easier.

Thanks.

As long as you don't write your own version of grep in AutoIt: no.

<{POST_SNAPBACK}>

Posted (edited)

That's what I was afraid you would say.  I may have to do that at some point, it would make my life much easier.

Thanks.

<{POST_SNAPBACK}>

Couldn't you use AutoIt to collect the parameters you want, search string etc, and then call grep from within the AutoIt script? Edited by martin
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted (edited)

Most probably with all the good String related functions, considering overall the new StringRegExp(), you should be able to do what you need in 100% Autoit.

Edited by ezzetabi

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...