Hello all,
below is a very nice snippet.
I've been using it often several times a day, because when I'm making a entry at a log or journal,
I wished to precede it by the actual time.
It worked with all programs, text, ms office, open office or google docs.
I'm starting it using a short-cut while working at a document.
Always it was difficult to use, it was needful to press the keys very short to invoke the snippet,
but it worked.
If you pressed the keys (I used CTR+ALT+D) to long, the behaviour of the pc/keyboard whould become ,crazy'
Now I changed from windows xp64 to windows 7 64bit. I compiled the script newly, using the 64bit option.
When I start it, by shortcut, ,nothing goes'. The keyboad is working wrong, the left mouse button works as it is the right.
Also the wished date isn't send to the text document, which was active at the time of invoking the snippet.
Only get-out is to reboot the pc.
I think, the snippet is changing the active window, but I'm not sure.
Does someone here knows a way out or a workaround?
below is a very nice snippet.
I've been using it often several times a day, because when I'm making a entry at a log or journal,
I wished to precede it by the actual time.
It worked with all programs, text, ms office, open office or google docs.
I'm starting it using a short-cut while working at a document.
Always it was difficult to use, it was needful to press the keys very short to invoke the snippet,
but it worked.
If you pressed the keys (I used CTR+ALT+D) to long, the behaviour of the pc/keyboard whould become ,crazy'
Now I changed from windows xp64 to windows 7 64bit. I compiled the script newly, using the 64bit option.
When I start it, by shortcut, ,nothing goes'. The keyboad is working wrong, the left mouse button works as it is the right.
Also the wished date isn't send to the text document, which was active at the time of invoking the snippet.
Only get-out is to reboot the pc.
I think, the snippet is changing the active window, but I'm not sure.
Does someone here knows a way out or a workaround?
[ autoit ]
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile=C:\mein_d\meine_programme\datum64.exe #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.0.0 Author: Holger Steffen Script Function: Fuegt Datum und Zeit ein 013 12:51 #ce ---------------------------------------------------------------------------- #include <Date.au3> #include <WindowsConstants.au3> Dim $tCur Dim $formatiert Dim $MyDate Dim $MyTime Dim $wochentag Dim $woTaNum Dim $woTaNam Dim $meineZeit $tCur = _Date_Time_GetLocalTime() $formatiert =_Date_Time_SystemTimeToDateTimeStr($tCur) _DateTimeSplit($formatiert,$MyDate,$MyTime) $wochentag = _Date_Time_SystemTimeToArray($tCur) $woTaNum = $wochentag[7] switch $woTaNum Case 1 $woTaNam = "Montag" Case 2 $woTaNam = "Dienstag" Case 3 $woTaNam = "Mittwoch" Case 4 $woTaNam = "Donnerstag" Case 5 $woTaNam = "Freitag" Case 6 $woTaNam = "Samstag" Case Else $woTaNam = "Sonntag" EndSwitch $meineZeit = _NowTime(4) send ($woTaNam) send (", ") send ($MyDate[2]) send (".") send ($MyDate[1]) send (".") send ($MyDate[3]) send (" ") send ($meineZeit) send ("{ENTER}") exit