Questions tagged [notepad]

Notepad is a simple text editor for Microsoft Windows. Use this tag for issues relating to interfacing with Notepad and/or duplicating Notepad functionality.

Notepad is a simple text editor for Microsoft Windows. It has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.

787 questions
2
votes
1 answer

Can Notepad read UTF-32?

These bytes represent the word "hi" in UTF-32LE: FF FE 00 00 68 00 00 00 69 00 00 00 However this is what Notepad displays:
user4407915
2
votes
1 answer

EditText with lines like notepad android

I have use custom EditText like notepad from the link Custom EditText The text entered on the custom EditText doesn't appears correctly on the lines it contains . It some time appears on the line or below the line , unexpected behaviour My output …
Karthik Kolanji
  • 165
  • 2
  • 17
2
votes
1 answer

Having problems with a scoring loop by reading from a text file

I am new to python and creating a quiz program. I have the questions and answers to the quiz on separate text files. The text file for answers are all in lower case so I don't believe that the .lower() is the problem. Here is my following…
user3731036
2
votes
1 answer

How Do You Programmatically Go To The End Of The A NotePad File If Opened By A Windows Form Application

I am creating a Windows Form Application and I want the user to be able to open the log file on request, after selecting the option on a menu strip. I can open the file within notepad but the most recent entries will be at the end of the file. How…
2
votes
1 answer

How to display or show notepad file using python

I have a notepad file in my PC with path D:/example.txt,how can i display this file using my python code.
SHIVA73
  • 208
  • 1
  • 3
  • 10
2
votes
3 answers

Batch File path vairiable %PATH%

I have been creating a chat room for my school, but I have to bring home the file to make changes as they become needed but my problem is the file path has to be changed each time I move the files from one system to another. so I would like to know…
FBspitty
  • 23
  • 5
2
votes
6 answers

How do i read a notepad file in java?

im trying to create a restaurant system that will create food items and such from a menu. ill be learning jdbc soon and im sure that would help but for now i think the simplest way is too create my menu in notepad. whats the best way to line up and…
OVERTONE
  • 11,797
  • 20
  • 71
  • 87
2
votes
1 answer

Notepad++ find and replace after specific character

I have hundred of song lyric database files, and I need to do something like this, from this : PPK4: B'rilah Hormat Pada Hu Judul Inggris: Glory to God in the Highest Lagu: unknown Syair: unknown 1=A, 4/4 to become like this : PPK4: B'rilah…
user3095679
  • 51
  • 1
  • 1
  • 4
2
votes
1 answer

Read text from notepad process memory

I want to read the entire memory of notepad, and write the output to a text file. If I type something in notepad, I do not find what I type in the output. This is the code: HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE,…
2
votes
1 answer

How to make file to be opened by my app?

I have a little bit confusing problem. I'm not a beginner but I don't know how to do it.. For example I've written a program like notepad from which you can open files, save and etc. But when I set any custom format like ".blabla" to be opened by…
r.mirzojonov
  • 1,209
  • 10
  • 18
2
votes
1 answer

Deactivating a MenuItem like "Undo" in Notepad in Java based Notepad

Am designing a Notepad application in java, using AWT. Now, i have created the MenuBar as well as the MenuItems, but the thing i can't get is how do i deactivate specific MenuItem, like if we haven't wrote anything in the TextArea, in the Edit…
Parth Chokshi
  • 642
  • 4
  • 16
2
votes
1 answer

Opening Resources in Text File Format in Notepad

I'm having some trouble using resource files. In my project I'm using a bunch of bitmap files and two txt files. Bitmaps are used as backgrounds for controls, but .txt files I want to open in Notepad or WordPad. Till now I was accesing them from a…
Agata
  • 23
  • 4
2
votes
1 answer

After writing to a binary file and opening it with various programs, why are the results not as expected?

Basically I'm trying to write to a binary file so that when it is opened with a text editor it will display all ASCII characters. I noticed this works with notepad but doesn't work with notepad++ or open office and gives strange results.…
Celeritas
  • 14,489
  • 36
  • 113
  • 194
2
votes
1 answer

Creating UTF-16 newline characters in Python for Windows Notepad

In Python 2.7 running in Ubuntu this code: f = open("testfile.txt", "w") f.write("Line one".encode("utf-16")) f.write(u"\r\n".encode("utf-16")) f.write("Line two".encode("utf-16")) produces the desired newline between the two lines of text when…
I_Ridanovic
  • 139
  • 1
  • 9
2
votes
2 answers

Get Notepad Number of Pages before Print

I'm trying to get the number of pages notepad before print, I'm setting the notepad to wordwrap=true, FontSize=12, MarginRight=750, MarginLeft=750, MarginTop=1000, MarginBottom=1000, Greater than 70 is the number of column for page is equal to 1 and…
XXXXXXXXXXXXXX
  • 155
  • 1
  • 3
  • 15