Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NotePad - cool feature
Message
 
 
To
21/04/2014 08:40:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
01598849
Message ID:
01598859
Views:
63
>>1. Open a new NotePad document
>>2. Put ".LOG" as the first line
>>3. Save the document
>>
>>Now, every time you open the document with NotePad, it will automatically append the current date/time.
>
>Got it on second time... and even when they insert a cool feature, they have to screw it up...
>
>1) .log doesn't work, it must be .LOG
>
>2) it's time/date, not date/time with my system settings... in which there's nothing to indicate whether a datetime should be displayed with date or time first, they are set independently and the order is not set at all.
>
>Here's how I was doing that for years:
>
>
#define cr chr(13)
>#define c_log "the.log"
>SET DATE YMD
>set hours to 24
>_screen.Visible=.t.
>IF FILE(c_log)
>	t=FDATE(c_log,1)
>	ltClosed=TEXTMERGE([-- closed at <<t>>])+cr+cr+cr
>ELSE
>	ltClosed=""
>endif
>*-- TEXT BLOCK BEGIN
>TEXT TO  cBuf NOSHOW TEXTMERGE PRETEXT 0
> <<ltClosed>><<SYS(0)>> <<DATETIME()>>
>ENDTEXT
>*-- TEXT BLOCK END
>*[2014/02/18 11:48:54] nDragan - I just like macdesktop, works nice with two monitors
>=strtofile(cr+cr+cBuf, c_log,1)
>modify file (c_log) range 1e6, 1e6 nowait in macdesktop
>
Not exactly on topic but this reminds me of something Rick Strahl posted on Facebook recently. It was a map of the globe with the countries which use mmddyy format highlighted. You can probably guess the only one.

Have a blessed 04/21/14!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform