Jump to content
Sign in to follow this  
Guest kesutton

Help With Is Control Enabled ?

Recommended Posts

Guest kesutton

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}")

Share this post


Link to post
Share on other sites
Guest kesutton

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

Share this post


Link to post
Share on other sites
forhotc

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

Could 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.

Share this post


Link to post
Share on other sites
BrettF

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×