Jump to content

Recommended Posts

Posted

i donot want the program to load untill an event happens in windows like internet connection down, write to a file, internet explorer load, command prompt opened . . . . . .etc

can u guys guide me to how to that

Posted

Hi,

As far as I know events are always happening in windows, when you press your keyboard you are firing an event, when you move your mouse you are firing an event. I think you need to narrow down the scope of what you want this script to do. So instead of making the program open on any event in windows, make the program react to maybe just the important things, example: when cmd is open

Dim $processExistance = 0
Do
     $processExistance = ProcessExists("cmd.exe")
Until $processExistance == 1

Run("program.exe")

You may build yourself an array of things that you want to happen and loop through each one in the do loop

Dave

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------"I don't need to know everything, I just need to know where to find it when I need it"....EinsteinAnd in our case... That's the AutoIT helpfile ;) Please read before posting!!!

Posted

I Donot want to even load untill windows event happens (not working in a loop untill the condition fulfilled) live eventtrigger command in windows i'm in need for more help with examples please

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