Page 1 of 1

HB date format string in a script

Posted: Sun Jun 22, 2008 6:37 am
by menesi
Hi Scott,

is there any way to read in a script from HB server that date format string which is setted in Program Options/Date & Time Options window?

Re: HB date format string in a script

Posted: Sun Jun 22, 2008 5:41 pm
by ScottBot
The date format strings are stored in the registry under the following key name.
HKEY_LOCAL_MACHINE\SOFTWARE\CeBotics\HouseBot\Date Formats (Note that in the next version they will be stored in HKEY_CURRENT_USER\SOFTWARE\CeBotics\HouseBot\Date Formats)

I'm not a script expert, but you should be able to google the script question. Here's one such method http://diablopup.blogspot.com/2007/07/v ... istry.html

Re: HB date format string in a script

Posted: Sun Jun 22, 2008 6:42 pm
by menesi
ScottBot wrote:The date format strings are stored in the registry under the following key name.
HKEY_LOCAL_MACHINE\SOFTWARE\CeBotics\HouseBot\Date Formats (Note that in the next version they will be stored in HKEY_CURRENT_USER\SOFTWARE\CeBotics\HouseBot\Date Formats)
That's it, thanks a lot.