Hi,
I have no knowledge in VBS.
I use a small application named Clavier+ (Keyboard+)
Such application allows to assign a VBS script to a hotkey.
As an example the following short VBS script can be assigned to a hotkey :
set shell = WScript.CreateObject("WScript.Shell")
shell.SendKeys Date()
So when pressing the assigned hotkey, the date is pasted into the current opened document.
But the date format is not the one I would like to have
My wish would be to have the here after format : dd/mm/yy.
So, how the VBS script has to be amended to get the expected date format ?
Another question is the following :
What would be the VBS script to paste, not the current date, but the date of the day before ?
Thank you in advance for any help in this matter.
Patrick
I have no knowledge in VBS.
I use a small application named Clavier+ (Keyboard+)
Such application allows to assign a VBS script to a hotkey.
As an example the following short VBS script can be assigned to a hotkey :
set shell = WScript.CreateObject("WScript.Shell")
shell.SendKeys Date()
So when pressing the assigned hotkey, the date is pasted into the current opened document.
But the date format is not the one I would like to have
My wish would be to have the here after format : dd/mm/yy.
So, how the VBS script has to be amended to get the expected date format ?
Another question is the following :
What would be the VBS script to paste, not the current date, but the date of the day before ?
Thank you in advance for any help in this matter.
Patrick