MaXuS you are an angel! ![]()
Ical For Objectdock!
I edited the batch file by deleting one the last sentences (del date.txt) so I could view which is the date format that I'm handling. But my date.text is empty! 
My problem is that the script doesnt like the space in "program files", this seems to be the only problem when I click on the dock's iCal.png icon, I get a splash screen then the error that it cannot find '*:\programs' folder.
Is there a work-aorund which does not involve moving the objectdock folder outside of the 'Program Files' folder??
try using Progra~1\Object~2 or Progra~1\Object~1 instead of program files\objectdock
well ... in windowsXP,
when i load the console
(Start -> Run... -> cmd -> OK)
and type C:\pr [tab] ... cmd.exe resolves the path for me to: "C:\Program Files"
For the clearness ... " is not a single quote , nor is it twice a single-quote.
It's a doublequote 

I just discovered this thread... after working through a lot of the issues here on my own. ![]()
I modified it slightly to use the kill.exe utility from one of the ms resource kits. you can download what i have at:
OK, I moved my objectdock (with iCal folder inside) to root of C:\ the date changes correctly like it did when it was in the "Program Files" folder. So datechanges, but what is it supposed to do when I click on the dock icon for iCal?
All I get is a quick command prompt window that will pop up and then closes before I can see anything.
Is there supposed to be like a dayplanner or something when I open it?
No, all it does is update the date icon in the dock.
Well, none of the calendar programs have been released. You can have it pop up a screenshot of ical if you want ![]()
if anybody is having a problem with your date format, try this.
@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=
regedit /S /E %temp%\out.reg "HKEY_CURRENT_USER\Control Panel\International"
echo Windows Registry Editor Version 5.00>>%temp%\temp.reg
echo.>>%temp%\temp.reg
echo [HKEY_CURRENT_USER\Control Panel\International]>>%temp%\temp.reg
echo "sShortDate"="M/d/yyyy">>%temp%\temp.reg
regedit /S %temp%\temp.reg
echo.|date>%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
regedit /S %temp%\out.reg
del %temp%\date.txt
del %temp%\temp.reg
del %temp%\out.reg
:end
exit
to set it up is the same, but substitute the complete script 4 that above.
hope it helps
P.S i havent tried it with OD but i know it worked with Yz. if i have a path or two wrong my apologes. but im sure u capable people can fix that
Aqua-Soft Forums