Jump to content

Help With Is Control Enabled ?


Guest kesutton
 Share

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

Link to comment
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

Link to comment
Share on other sites

  • 3 years later...

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.

Link to comment
Share on other sites

Link to comment
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
 Share

  • Recently Browsing   0 members

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