Hi all,

Can anyone help me with a script that can run a schedule task and also that
automatically press the specific button in the program that run the program.
For example, I want to a script to schedule and run SpyBot and automatically
press the "Check for problems" button in SpyBot program.

Thanks in advance!

Jason
--
Double Trouble

Re: Script to run schedule tasks by Shenan

Shenan
Wed Oct 11 11:26:51 CDT 2006

Agent00 wrote:
> Can anyone help me with a script that can run a schedule task and
> also that automatically press the specific button in the program
> that run the program. For example, I want to a script to schedule
> and run SpyBot and automatically press the "Check for problems"
> button in SpyBot program.

Spybot Search and Destroy has command line options...
spybotsd.exe /taskbarhide /autoupdate /autocheck /autofix /autoimmunize
/autoclose

And setting up remote scheduled tasks is easily done with the "schtasks"
command.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html



Re: Script to run schedule tasks by Trevor

Trevor
Wed Oct 11 12:15:12 CDT 2006

Shenan Stanley wrote:
> Agent00 wrote:
>> Can anyone help me with a script that can run a schedule task and
>> also that automatically press the specific button in the program
>> that run the program. For example, I want to a script to schedule
>> and run SpyBot and automatically press the "Check for problems"
>> button in SpyBot program.
>
> Spybot Search and Destroy has command line options...
> spybotsd.exe /taskbarhide /autoupdate /autocheck /autofix /autoimmunize
> /autoclose
>
> And setting up remote scheduled tasks is easily done with the "schtasks"
> command.
>
If you don't want to use an executable like schtasks in a script, you
can use the Win32_ScheduledJob class to create a new task. MSDN or the
Windows Server 2003 R2 Platform SDK has documentation on how to use
Win32_ScheduledJobs.

Trevor Sullivan
MCP