KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: How do I change the format of the "today's date" command?
Topic Summary: It does not use the format that I normally use
Created On: 01/12/2009 12:13 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 How do I change the format of the "today's date" command?   - onebigfish - 01/12/2009 12:13 PM  
 How do I change the format of the "today's date" command?   - Jomark - 01/12/2009 02:58 PM  
 How do I change the format of the "today's date" command?   - Lunis Orcutt - 01/12/2009 04:39 PM  
 How do I change the format of the "today's date" command?   - onebigfish - 01/12/2009 04:51 PM  
 How do I change the format of the "today's date" command?   - Lunis Orcutt - 01/12/2009 06:25 PM  
 How do I change the format of the "today's date" command?   - onebigfish - 01/14/2009 09:21 AM  
Keyword
 01/12/2009 12:13 PM
User is offline View Users Profile Print this message

Author Icon
onebigfish
Top-Tier Member

Posts: 628
Joined: 11/08/2007

When I speak the "today's date" command, DNS spits out the date in the "month-day-year" format. The format I normally use is "year-month-day", which is Windows is set to. How can I change the format of the date for that?


-------------------------


WORK: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i7 930, 12GB, Sennheiser DWPro1


HOME: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i5 760, 8GB DDR3, Airline 77/Andrea USB pod.




"Life's hard. It's even harder when you're stupid."


John Wayne


 01/12/2009 02:58 PM
User is offline View Users Profile Print this message


Jomark
Top-Tier Member

Posts: 1302
Joined: 10/19/2006

Try

Sub Main

  

        SendKeys  Format(Now,  " yyyy mmmm dd " )

  

End Sub

or if you prefer the short date "yy mm dd"



-------------------------
Jomark
 01/12/2009 04:39 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22623
Joined: 10/01/2006

Jomark’s recommendation would work perfectly if you were using DNS Pro but you do not have an Advanced-Scripting option in DNS Preferred so you cannot re-create this command. To further rub salt into the wound, this command is hardcoded into KnowBrainer which means you do not have access to it and cannot edit it. The reason why the command is hardcoded into KnowBrainer is because KnowBrainer doesn't include a native ability to to script a date command. Unfortunately there is no simple procedure for inserting the date, via KnowBrainer, other than from within applications that support this feature like WordPad and Microsoft Word. This is one of the limitations of DNS Preferred.

However, you could create a command that performs a HeardWord of the KnowBrainer
insert date command and swaps the month with the day. Just food for thought.



-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

 01/12/2009 04:51 PM
User is offline View Users Profile Print this message

Author Icon
onebigfish
Top-Tier Member

Posts: 628
Joined: 11/08/2007

Lunis, thank you for the information.

 

Although the command is hardcoded into KnowBrainer, is it possible (in the future) for KB to use the system settings, which in my case are yyyy-mm-dd, instead of a set format ? 

 

Thanks,

Chris



-------------------------


WORK: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i7 930, 12GB, Sennheiser DWPro1


HOME: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i5 760, 8GB DDR3, Airline 77/Andrea USB pod.




"Life's hard. It's even harder when you're stupid."


John Wayne


 01/12/2009 06:25 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22623
Joined: 10/01/2006

I'll pass that request to our programmer but my gut feeling is that it isn't doable.

-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

 01/14/2009 09:21 AM
User is offline View Users Profile Print this message

Author Icon
onebigfish
Top-Tier Member

Posts: 628
Joined: 11/08/2007

Thanks!

-------------------------


WORK: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i7 930, 12GB, Sennheiser DWPro1


HOME: 12.5 Premium, KB2012, VoiceComputer, Windows7x64, i5 760, 8GB DDR3, Airline 77/Andrea USB pod.




"Life's hard. It's even harder when you're stupid."


John Wayne


Statistics
27371 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 5 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 83 guests browsing this forum, which makes a total of 88 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.