Scheduling an event

  • Thread starter Thread starter Terry
  • Start date Start date
T

Terry

Is there an easy way to have an alarm sound on your computer say about
time for the pizza to be done?

Thank you for your time
 
Terry said:
Is there an easy way to have an alarm sound on your computer say about
time for the pizza to be done?

Thank you for your time

You could use the Task Scheduler to invoke your favourite tune.
 
You need to tell us what exactly you did.


Do you have to set a username/pw to schedule a task?
When I don't set one, I get task can not run because no pw was
selected.

I am just trying to select Adobe reader as a task because it is on the
list.

When I pick Adobe I get a box prompting me to enter username/pw.

The username is filled in. It is main\main

When I use the admin password, I get this error.........
http://i21.tinypic.com/23hkupg.jpg


I am the only user on the machine and I did change my username from
Main to Terry

If I use \main\terry then I get about the same error.
 
Terry said:
Do you have to set a username/pw to schedule a task?
When I don't set one, I get task can not run because no pw was
selected.

I am just trying to select Adobe reader as a task because it is on the
list.

When I pick Adobe I get a box prompting me to enter username/pw.

The username is filled in. It is main\main

When I use the admin password, I get this error.........
http://i21.tinypic.com/23hkupg.jpg


I am the only user on the machine and I did change my username from
Main to Terry

If I use \main\terry then I get about the same error.

Let's get away from the Task Scheduler - it's probably a bit
of an overkill for your pizza timer. The following batch file should
meet your requirements:
@echo off
echo.
set /p delay=How many minutes until your pizza is done?
if "%delay%"=="" goto :eof
echo Waiting %delay% minute(s) for the pizza to be done.
set /a delay=%delay% * 60
ping localhost -n %delay% > nul
"C:\Program Files\IrfanView\i_view32.exe" d:\PizzaDone.wav

After creating the batch file, create a shortcut to it and place it
on your desktop. To invoke it, double-click it.

You can download IrfanFiew from a number of sites. It is free.
When installing it, don't let it change any of your existing file
associations (unless you particularly want to).
 
Let's get away from the Task Scheduler - it's probably a bit
of an overkill for your pizza timer. The following batch file should
meet your requirements:
@echo off
echo.
set /p delay=How many minutes until your pizza is done?
if "%delay%"=="" goto :eof
echo Waiting %delay% minute(s) for the pizza to be done.
set /a delay=%delay% * 60
ping localhost -n %delay% > nul
"C:\Program Files\IrfanView\i_view32.exe" d:\PizzaDone.wav

After creating the batch file, create a shortcut to it and place it
on your desktop. To invoke it, double-click it.

You can download IrfanFiew from a number of sites. It is free.
When installing it, don't let it change any of your existing file
associations (unless you particularly want to).

I have IrfanView. Great program. I will give your batch file a try.

Thanks
 
Let's get away from the Task Scheduler - it's probably a bit
of an overkill for your pizza timer. The following batch file should
meet your requirements:
@echo off
echo.
set /p delay=How many minutes until your pizza is done?
if "%delay%"=="" goto :eof
echo Waiting %delay% minute(s) for the pizza to be done.
set /a delay=%delay% * 60
ping localhost -n %delay% > nul
"C:\Program Files\IrfanView\i_view32.exe" d:\PizzaDone.wav

After creating the batch file, create a shortcut to it and place it
on your desktop. To invoke it, double-click it.

You can download IrfanFiew from a number of sites. It is free.
When installing it, don't let it change any of your existing file
associations (unless you particularly want to)

That does just what it is supposed to.
How about a mod that displays minutes left?

Thanks
 
Terry said:
That does just what it is supposed to.
How about a mod that displays minutes left?

Thanks

If you want something elegant then you have to spend the
time scripting it. For something crude, see below:
@echo off
echo.
set /p min=How many minutes until your pizza is done?
if "%min%"=="" goto :eof

:again
set unit=minutes
if %min% EQU 1 set unit=minute
echo %min% %unit% to go . . .
ping localhost -n 61 > nul
set /a min=%min%-1
if %min% GTR 0 goto again

"C:\Program Files\IrfanView\i_view32.exe" d:\PizzaDone.wav
 
If you want something elegant then you have to spend the
time scripting it. For something crude, see below:
@echo off
echo.
set /p min=How many minutes until your pizza is done?
if "%min%"=="" goto :eof

:again
set unit=minutes
if %min% EQU 1 set unit=minute
echo %min% %unit% to go . . .
ping localhost -n 61 > nul
set /a min=%min%-1
if %min% GTR 0 goto again

"C:\Program Files\IrfanView\i_view32.exe" d:\PizzaDone.wav


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top