LOL, You guys are going to force me to learn another language. So far I resisted LAU but this time you hooked me.
First,
Code: Select all
LeftMouseUpAction=[cmd.exe /C echo STARTED EVENT >> #CURRENTPATH#Log.txt]
Doesn't quite work on windows 8.
It does add 'STARTED EVENT' to the log.txt file but it does not add the times/tamp prior to the text.
Aparently, cmd.exe is not quite the same as the windows command prompt. The functionality of identifying the .LOG on the first line and appending the date/time before appending the echoed text does not work. You get the text appended but not the Date/Time. I haven't tried it on windows 7.
Of course, That method could be fixed by adding the time to the echoed text so that Rainmeter puts the date/time and text directly into the log file instead of letting the OS look for the .LOG on the first line and pre-appending the date/time.
In my situation, I also use a short cut that simply opens that same log.txt file and lets me manually add log entries via notepad. They get the time-stamp because Windows opened the file. That gets complicated because this same skin will be used on XP, 7 and 8, some of which would then have two time stamps per entry.
And, as you pointed out, I did get a DOS box flashing up on the screen.
So...
The LAU script does work. It also eliminates the flashing DOS box.
Thanks.
I have to say that people on this forum have tried to get me to start using LAU several times. I always resisted and managed to find a work-around that let me do what I needed in pure Rainmeter skins. This time you convinced me, You
You.
Thanks.