Ical For Objectdock!

MaXuS you are an angel! :)

#18773

Cheers :lol::lol::lol:

That simple batch-file just must work. The eye needs it :P

#18775

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! :blink:

#18778

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??

#18823

try using Progra~1\Object~2 or Progra~1\Object~1 instead of program files\objectdock

#18837

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 :lol::lol:

#18841

I just discovered this thread... after working through a lot of the issues here on my own. :P

I modified it slightly to use the kill.exe utility from one of the ms resource kits. you can download what i have at:

http://geocities.com/hawks5999

#19021

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?

#19951

No, all it does is update the date icon in the dock.

#19953

Hmm....thats it?

:angry:

#19979

Well, none of the calendar programs have been released. You can have it pop up a screenshot of ical if you want :D

#20005

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

#20204