Results 1 to 5 of 5

Thread: A reminder about few settings of Notepad

  1. #1
    Advanced User Resurrection's Avatar
    Join Date
    24.07.10
    Posts
    997
    Activity Longevity
    1/20 12/20
    Today Posts
    0/5 ssssss997

    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
    30,207
    Activity Longevity
    9/20 18/20
    Today Posts
    0/5 ssss30207
    6. if you're on XP or below, you can type "this app can break", save the text file, and see what happens.
    "That door is open. What do you want to do with your key?" -- ADOM 1.1.1
    Reply With QuoteReply With Quote
    Thanks

  4. Who Said Thanks:

    seldom (16.04.11)

  5. #3
    Advanced User Resurrection's Avatar
    Join Date
    24.07.10
    Posts
    997
    Activity Longevity
    1/20 12/20
    Today Posts
    0/5 ssssss997
    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
    Member
    Join Date
    18.12.07
    Location
    .:under your bed:.
    Posts
    247
    Activity Longevity
    1/20 19/20
    Today Posts
    0/5 ssssss247
    ^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
    30,207
    Activity Longevity
    9/20 18/20
    Today Posts
    0/5 ssss30207
    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
    "That door is open. What do you want to do with your key?" -- ADOM 1.1.1
    Reply With QuoteReply With Quote
    Thanks

Tags for this Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179