Sign in to follow this  
Followers 0
Systems By

Auto run script

7 posts in this topic

Hi everyone. I have a quick question. I have a script that runs when a user first starts up their computer. I want to be able to set a timer to run the script again after a defined amount of time just in case the user does not shut down his/hr computer. What would be the easiest way to do this?

Share this post


Link to post
Share on other sites



Thanks for the tip. It worked. My only issue now is that my application uses 100% of the CPU while the timer is ticking away. Is there something I can do to keep this from happening?

Share this post


Link to post
Share on other sites

...my application uses 100% of the CPU...

Post your code that causes this - 'cuz the code that Valuater posted should not do that.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Post your code that causes this - 'cuz the code that Valuater posted should not do that.

I just figured it out :P I commented out the sleep after the tooltip. Thanks!

Share this post


Link to post
Share on other sites

I just figured it out :P I commented out the sleep after the tooltip. Thanks!

The CPU needs its sleep - just like I do... :-)

[size="1"][font="Arial"].[u].[/u][/font][/size]

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  
Followers 0