Classic Shell
http://www.classicshell.net/forum/

Add Countdown Timer Alarms to your Start Menu
http://www.classicshell.net/forum/viewtopic.php?f=5&t=588
Page 1 of 1

Author:  Tenzen [ Thu Apr 25, 2013 6:32 pm ]
Post subject:  Add Countdown Timer Alarms to your Start Menu

Method 2 - Nircmd:
(See Below for Method 1 - The Preferred Method)

Step 1:
  • Download NIRCMD.EXE and place it in C:\Windows Directory
Step 2:
  • Right Click the Start button, click "Settings"
  • Click "All Settings" at the bottom
  • Click the "Customize Start Menu" Tab
  • Create a New Item
    • Rename it: OvenTimers
    • Double-Click to Edit:
      • Label: Oven Timers
      • Icon (See Below)
  • Ctrl+Drag that Item down until a duplicate fits as a Sub-menu Item
    • Rename it: Countdown_1 or Timer1, etc
  • Double-Click to Edit that Submenu Item
    • Command:
      • nircmd.exe cmdwait 60000 execmd "L:\Tenzen's Data\Computing\Sounds\CoolAlarm2.wav"
      • Change the directory to whatever audio file you want to play...
    • Label:
      • 1 Minute Timer
    • Icon:
      • See Below, or one of your choice
    • Click OK
  • Ctrl+Drag that Item down to create a copy in the same sub-level as the one above it
  • Continue Dragging it down until you have 29 Timers (or as many as you like)
  • Rename them all as shown in the image below (hit F2 to rename an Item)
  • Double-Click the second one (or highlight & hit enter), & drag-resize the window wide enough to see the entire command
    • Change the number of milliseconds for each one, as follows:
      • 1 minute = 60000
      • 2 minutes = 120000
      • 3 minutes = 180000
      • 5 minutes = 300000
      • 8 minutes = 480000
      • 10 minutes = 600000
      • 12 minutes = 720000
      • 15 minutes = 900000
      • 20 minutes = 1200000
      • 25 minutes = 1500000
      • 30 minutes = 1800000
      • 35 minutes = 2100000
      • 40 minutes = 2400000
      • 45 minutes = 2700000
      • 50 minutes = 3000000
      • 55 minutes = 3300000
      • 60 minutes = 3600000
      • 1hr15min = 4500000
      • 1hr30min = 5400000
      • 1hr45 = 6300000
      • 2hr = 7200000
      • 2hr30min = 9000000
      • 3hr = 10800000
      • 4hr = 14400000
      • 5hr = 18000000
      • 6hr = 21600000
      • 7 hr = 25200000
      • 8hr = 28800000
  • Double-Click a Timer to Activate it
  • To Cancel all Timers:
    • Create a New Item Above all the other Timers, but in the same Sub-menu Level
    • Add a Separator below the new button, between it and the other timers below
    • Rename the Item "CancelAllTimers"
    • Double-click to Edit:
      • Command:
        • nircmd.exe execmd taskkill /IM nircmd.exe /F
      • Label:
        • Cancel All Timers
      • Icon:
        • shell32.dll
        • # 338
(Note that nircmd's execmd command functions like shellexecute, in that it hides the process - Cool Stuff)

Attachments:
Capture27.JPG
Capture27.JPG [ 101.22 KiB | Viewed 12598 times ]
alarmclockLarge.png
alarmclockLarge.png [ 134.87 KiB | Viewed 12599 times ]

Author:  Tenzen [ Thu Apr 25, 2013 6:46 pm ]
Post subject:  Re: Add Countdown Timer Alarms to your Start Menu

Method 1 (Preferred Method):

Chris Dziemborowicz's Orzeszek Timer.exe supports Command Line, but I couldnt get the Alarm to sound..

Chris said he would modify it in the next few days to read Sounds from the .exe files directory, instead of the sounds folder...

if that works, I'll post that one up here, since its an awesome timer.. maybe some of you guys will have better luck

He said he created it on a Windows 7 64-bit, and now he uses Windows 8 64, and says he can use it..

when I launch it from the command line, I get the timer, but when it counts down, no sound plays, and no sound is shown in the options..

it works fine when launched just from the .exe file though..

it only supports WAV files.. the 1st method above can use any audio file..

Chris also said that there'll be a Whole New Version 2 of his Orzeszek Timer that'll be out in a couple months.. he said its only about one full days work, but he's got alot of other things going on right now.. he said he's planning on adding command line location parameters for the audio file, and other command-line buffs.. and i think support for more audio file types

so we should all definitely be looking forward to that

the website is here http://www.orzeszek.org/dev/timer/

the parameters are simple and easy, the interface is awesome.. if you get it to work from command line on your system, let me know.. i'd like to compare notes..

Author:  Tenzen [ Thu Apr 25, 2013 7:54 pm ]
Post subject:  Re: Add Countdown Timer Alarms to your Start Menu

Wow! Chris works fast.. he told me at 2 am last night he would have a look at it in a couple days, and he had finished version 1.9 by 10am this morning!

Chris changed it from Version 1.8 which was looking for the Sounds folder relative to the current working directory when it went to play the sound, to version 1.9 which now looks for the Sound folder relative to the *.exe, when populating the menu and going to play a sound.. and also fixed a bug where long path names & special characters required 3 sets of quotes

super cool guy..

so..

Method 1 (The Preferred Method):
now, instead of using Nircmd, you can use Orzeszek Timer, which is way better, since you can see the timers, & cancel them by closing the window, and it doesnt launch any media players or interfere with your music listening..

the Command Line for Orzeszek Timer is super flexible and easy to use.. you basically can guess the syntax for whatever time you want and it'll work

Here is How to Set it Up:
  • Download Orzeszek Timer
  • Extract the contents to a New Folder at a Permanent Location on your computer
  • Place your custom WAV files in the "Sounds" folder, or use the default ones
  • Double-Click Orzeszek Timer.exe, right-click the interface, & select the Custom Sound you wanted to add, or the existing sounds
  • Type in "3 seconds" & hit enter to be sure it sounds the way you want it to
  • Select other options like "loop playback" (for heavy sleepers) or "loop timer" (great for office break timers), Close When Done, etc..
  • Close the Program
    • You've now saved the settings for all your future timers..
  • Edit your New Menu Item Button
    • Command:
      • "I:\Tenzen's Computing\Utilities\Countdown Timers\Orzeszek Timer 1.9\Orzeszek Timer.exe" 5 minutes
      • Change the path above to the path of your Orzeszek Timer.exe (FileMenu Tools can easily copy paths with a right-click)
      • Use the Following Formats:
        • 1 minute
        • 1 hour
        • 1 hour 15 minutes
        • 2 hours 30 minutes
        • 8 hours
      • You can also use a variety of other syntax, for example:
  • 5 – 5 minutes
  • 2 30 00 - 2 hours 30 minutes
  • 2.5 – 2 minutes 30 seconds
  • 2 30 – 2 minutes 30 seconds
  • 1d 5h 3m 25s – 1 day 5 hours 3 minutes 25 seconds
  • 1.05:03:25 – 1 day 5 hours 3 minutes 25 seconds
  • 1 5 3 25 – 1 day 5 hours 3 minutes 25 seconds
  • 01/01/2011 – until midnight on 1 January 2011
  • 01/01/2011 5:00 PM – until 5:00 pm on 1 January 2011

Click on the timer and watch it go, with a cool, simple Graphically Animated Interface

Be sure to send out your thanks to Chris Dziemborowicz for this awesome program

and we're all looking forward to Version 2, Chris.. thanks!

Author:  Tenzen [ Fri Apr 26, 2013 5:36 am ]
Post subject:  Re: Add Countdown Timer Alarms to your Start Menu

Optimized the Alarm Clock Image for Smaller Icons, utilizing the square space better

Author:  Tenzen [ Sun Oct 20, 2013 6:46 pm ]
Post subject:  Re: Add Countdown Timer Alarms to your Start Menu

adlenalui wrote:
thanks for sharing such a nice post


please share some cookies.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/