Valhalla Legends Archive

General => General Discussion => Topic started by: haZe on December 23, 2002, 04:26 PM

Title: Anti-Idle Help
Post by: haZe on December 23, 2002, 04:26 PM
Anyone know how to run a certain program at a designated time? I need to keep my comp anti-idle... :-X
Title: Re: Anti-Idle Help
Post by: Grok on December 23, 2002, 04:35 PM
This is bot development help forum.
Title: Re: Anti-Idle Help
Post by: iago on December 23, 2002, 07:58 PM
Another stunning observation by Grok! :-P

It would be easy to do it in visual basic, just create a timer, set interval to, say, 10000 milliseconds, and in the tmrIdle_Timer() function (sorry, this is vb... sub), do shell("notepad.exe") or whatever program.



[note: thanks to ste4lth for reminding me of the function to call]
Title: Re: Anti-Idle Help
Post by: Skywing on December 24, 2002, 05:00 PM
You might use the Windows Task Scheduler.

This should have been posted in somewhere besides the BotDev forum.