+ Reply to Thread
Results 1 to 5 of 5

Thread: A reminder about few settings of Notepad

  1. #1

    A reminder about few settings of Notepad

    5 Groovy Things You Didn’t Know You Could Do with Notepad.exe


    --------


    Notepad.exe is the barest of bones plain text editor you can get for Windows, and that’s why so many of us love it or hate it. Notepad has been bundled with Windows ever since Windows 1.0 launched in 1985, and it’s evolved only slightly. But after decades of use, there are a few groovy features hidden in Notepad that you may have never known existed. Check ‘em out:


    1. Insert the Time and Date

    Press F5 or choose Edit and Time/Date to automatically insert the time and date into Notepad. Handy for all those captain’s logs you’ll be keeping on your next starship journey.





    2. Switch to Right-to-Left Reading Order

    Right-click in Notepad and choose Right to Left Reading Order to change the way the text is displayed. This is useful if you’re typing in a language that is read from right to left, such as Arabic or Hebrew. As you’ll notice from the screenshot, it only reverses the order of the letters and words if you are actually typing in a language that reads from right to left. For English and other left to right languages, it arranges it much as if it were right-aligned, except the punctuation ends up on the left side of the line.





    3. Insert a Timestamp Each time a File is Opened

    Create a new .txt file and at the very top on the first line, insert: .LOG. Now, whenever you open the file in Notepad.exe, Notepad will automatically insert a timestamp on the next line. This is handy if you have scripts or other automated network tasks where a log file is created.





    4. Customize the Header and Footer in Notepad

    Notepad doesn’t have the rich text editing features of bona fide word processors, but you can still add a header and footer to each page for printing. To do so, click File and choose Page Setup. Here, you’ll see the Header and Footer boxes. You can enter plain text here, or special characters which automatically insert the date, time, page number and other information.







    See the chart below for the special characters you can use in Notepad headers and footers:

    Output - Special Character
    Date - &d
    Timestamp - &t
    Page number - &p
    Filename - &f
    Ampersand (&) - &&
    Left align header/footer - &l
    Right align header/footer - &r
    Center align header/footer - &c



    5. Go To a Specific Line

    Press CTRL-G or click Edit and choose Go To… to jump to a specific line in the text document. Note that you must have Word Wrap turned off (click Format and choose Word Wrap) for the Go To… feature to work.



    You don’t need to number your lines in order for this to work, and if you do, Notepad will just go by its own numbering, with the first line number as 1, the second as 2 and so forth. This might be helpful if you’re using Notepad.exe to code or script, and your browser spits out an error such as “Syntax error on Line 642.” You can then open up Notepad.exe, hit CTRL-G and type in 642 and automatically be taken to the offending line of code. That’s much easier than counting them by hand.



    Also, note, that when you first hit CTRL-G, the number in the field will be the current line number, which his helpful for keeping track of where you are in your text document. You can also see the Line and Column number by clicking View and choosing Status Bar.




    Conclusion

    So, there you have it—Notepad.exe does more than you thought it could. While this might not elevate it to the full-featured level of programs like Notepad++, these groovy tips can save you some time if you prefer to stick with good ol’ Notepad.exe for your plain text editing endeavors.
    ------------

    Also make sure to save with the UTF-8 type of encoding. The default is ANSI, and it won’t preserve HTML or other hex or other characters if you are trying to save a webpage or a slightly more 'fancy' content...
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    dreamer (17.04.11) , SBfreak (16.04.11) , takomania (16.04.11) , seldom (16.04.11)

  3. #2
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,447
    Activity Longevity
    8/20 19/20
    Today Posts
    1/5 ssss39447
    6. if you're on XP or below, you can type "this app can break", save the text file, and see what happens.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  4. Who Said Thanks:

    seldom (16.04.11)

  5. #3
    Quote Originally Posted by anon View Post
    6. if you're on XP or below, you can type "this app can break", save the text file, and see what happens.
    That trick is so old that the last time I tried it and saw the results,I laughed so hard I fell of my dinosaur...

    There are also “acre vai pra globo”, "aaaa aaa aaa aaaaa" and the more popular one "Bush hid the facts"

    A Supersaurus told me about them...He was a nice pet...
    Reply With QuoteReply With Quote
    Thanks

  6. #4

    Join Date
    18.12.07
    Location
    .:under your bed:.
    Posts
    296
    Activity Longevity
    0/20 20/20
    Today Posts
    0/5 ssssss296
    ^then you really should have told people earlier, as that glitch became public knowledge during the last decade - it's not very old...
    Reply With QuoteReply With Quote
    Thanks

  7. #5
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,447
    Activity Longevity
    8/20 19/20
    Today Posts
    1/5 ssss39447
    Quote Originally Posted by Resurrection View Post
    There are also “acre vai pra globo”, "aaaa aaa aaa aaaaa" and the more popular one "Bush hid the facts"
    Any 4-3-3-5 sequence will do. Had something to do with an Unicode check that's fixed in newer versions of Windows.

    I recall the forum where I first read about this also gave some cheat codes for MS Pinball
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •