Jump to content

Recommended Posts

Posted

  Quote

Basically I am trying to get the following:

1) Program does nothing if Untitled is not open

2) User opens up Untitled and as long as it is WinActive all is good in the world

3) If user makes Untitled Not WinActive by going to another program begin 30 minute timer

4) If Untitled is Not WinActive for 30 minutes straight close Untitled

5) If Untitled is WinActive during the 30 minute timer, stop timer

6) If Untitled is Not WinActive again begin 30 minute timer.....and so on

Ok, i am has edit my post, try it, it do all by steps that yo described :whistle: (i think).

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

MsCreatoR....

Yup that did the trick....just took out the Exit Loop becuase I want it to always run in the background. Thanks everyone for your help....this turned out to be harder than I was expecting.

Thanks,

JP

Posted

SmOke_N

  Quote

Have you bothered to try this code...

http://www.autoitscript.com/forum/index.ph...st&p=315368

It will do what you want.

This is will work also, it do what he want, i agree.

jpoteet

  Quote

just took out the Exit Loop

Look on my post again, i was edit it a litle :whistle:

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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