HB date format string in a script

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
menesi
Member
Posts: 51
Joined: Fri Jan 05, 2007 4:48 pm
Location: Debrecen, Hungary, EU

HB date format string in a script

Post 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?
Laszlo Menesi
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: HB date format string in a script

Post 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
Scott
menesi
Member
Posts: 51
Joined: Fri Jan 05, 2007 4:48 pm
Location: Debrecen, Hungary, EU

Re: HB date format string in a script

Post 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.
Laszlo Menesi
Post Reply