Guest kesutton Posted March 30, 2004 Share Posted March 30, 2004 I am looking to write a script that will run a saved windows search to find a certain type of file, wait for the find to finish, then select all the files and delete them. This is what I have So Far SEND ("{LWIN}R") WinWaitActive("Run","",60) SEND ("c:\1k.fnd") Send ("{ENTER}") WinWaitActive("Search","",60) Send ("{ENTER}") Need a command here that will wait for the "Search Now" button to become available indicating that the search has finished. Send ("^a") Send ("{DEL}") Link to comment Share on other sites More sharing options...
Guest kesutton Posted March 30, 2004 Share Posted March 30, 2004 Larry, you are a gentleman and a scholar. Worked like a charm. I now have an automated script to delete a certain type of spam that lock up my mail server. Thanks Ken Link to comment Share on other sites More sharing options...
forhotc Posted January 20, 2008 Share Posted January 20, 2008 Larry,you are a gentleman and a scholar. Worked like a charm. I now have an automated script to delete a certain type of spam that lock up my mail server.ThanksKenCould you guys please post the solution out? I've been searching the way to do this (determining whether or not a control is enabled) in the past few hours, but no luck...thanks in advance. Link to comment Share on other sites More sharing options...
Siao Posted January 20, 2008 Share Posted January 20, 2008 (edited) I feel like a gentleman too, so I won't send you to RTFM on ControlCommand and loops, but search a forum for you.And here's what I found.http://www.autoitscript.com/forum/index.ph...=controlcommand Edited January 20, 2008 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
forhotc Posted January 20, 2008 Share Posted January 20, 2008 I feel like a gentleman too, so I won't send you to RTFM on ControlCommand and loops, but search a forum for you.And here's what I found.http://www.autoitscript.com/forum/index.ph...=controlcommandThanks heaps Siao. I've just learned one thing: don't rely on google too much, and use forum search sometimes . Link to comment Share on other sites More sharing options...
BrettF Posted January 20, 2008 Share Posted January 20, 2008 Thanks heaps Siao. I've just learned one thing: don't rely on google too much, and use forum search sometimes .Incorrect. Use it always Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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