Here's the instructions to get the Ical made for y's dock working on objectdock.
2. Extract the rar file into your objectdock folder e.g. Objectdock\iCal\ (all the files in here)
3. Open up notepad. Copy and paste the code below into a new text document. Save the document into your objectdock\ical\ folder as "ical.bat"
4. Drag ical.bat into your dock. Change the program image to ical.png or the icon that is name "ical".
And you are done!
To update the date every day, you can either click on the ical icon, or have windows run ical.bat every day at 12:00 am through the Schedule Tasks feature.
You can also replace your shortcut to ObjectDock in the startup folder with a shortcut to ical.bat
Thanks to amanothi for his Ical for y's dock, and theunknown for his updated batch script.
@echo off
if [%min%]==[1] goto 2
set min=1
start /min ical.bat
goto end
:2
set min=
cls
taskkill /F /IM objectdock.exe
attrib -r -a -s -h %temp%\date.txt
del %temp%\date.txt
attrib -r -a -s -h ical.png
del ical.png
set png=
echo.|date|find "current">%temp%\date.txt
FOR /F "tokens=6 " %%i in (%temp%\date.txt) do @echo %%i>%temp%\date.txt
FOR /F "tokens=1,2,3* delims=/" %%i in (%temp%\date.txt) do set png=%%i_%%j
copy images\%png%.png ical.png
start ..\objectdock.exe
del %temp%\date.txt
:end
exit
Aqua-Soft Forums


