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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Notepad++ highligh by enhance anylexer local variables

I am preparing my own color highlight file for CNC programs. At first I use USERdefined language, but I have some particular text that I cant mark. Like words end by ":", and others So I ...
Txote's user avatar
  • 9
0 votes
0 answers
32 views

How do I copy text from a c# Application to Notepad.exe under Windows 11? [duplicate]

I am using the following code to copy text from a c# application to Notepad.exe: [DllImport("user32.dll", EntryPoint = "FindWindowEx")] public static extern IntPtr ...
Daelian's user avatar
  • 15
0 votes
1 answer
29 views

My laptop is having issues starting Apache on the xampp control panel. I changed ports to 8080 and 4433 but it doesn't work

This problem occurred when I downloaded something. This shows: httpd.conf and httpd-ssl.conf file. The other options that I seen for config are httpd-xampp.conf, php.ini and config.inc.php (I didn't ...
Robbie Sobbie's user avatar
-1 votes
2 answers
27 views

Image not showing up on Html [closed]

I'm completely new to HTML and am trying to code my first thing using Notepad. I put the thing for an image to show up but it won't. what am I doing wrong? I've written the code below and I put the ...
dban2017's user avatar
0 votes
0 answers
83 views

Cannot get handle of Edit control from notepad using Windows 11

I have several ways to get notepad's edit control handle: Using user32 FindWindowEx(ForegroundHandle, IntPtr.Zero, "Edit", null); Using Automation var notepadWindow = AutomationElement....
oyashchyshyn's user avatar
0 votes
0 answers
50 views

Copy Eclipse text and paste into VB.NET textbox doesn't work

I have this issue that when I copy (CTRL-C) some text from Eclipse (the well known IDE), and paste it (CTRL-V) in my VB.NET application in a textbox the VB.NET application is not responding for a ...
kahoona's user avatar
  • 175
0 votes
0 answers
16 views

How can I use notepad++ to do a regular expression ? Extract a tag and replace it [duplicate]

There are too many xml like this format. And also some book tag is included non ASCII Current: <Book>apple</Book><title></title> <Book>蘋果</Book><title></...
HIHI NNG's user avatar
0 votes
0 answers
7 views

Rearrange Clipboard Text to Fit in Google Translation Box

As you may seen, when we copy text from internet or other application and paste as raw text in google translate source language box, sentences are misinterpreted by Google because of extra spaces in ...
user7181718's user avatar
-1 votes
1 answer
58 views

Join two lottie json file parts into one manually using notepad

Is it the case you can copy and paste the contents of the second part to the end of the first and remove the middle code, whichever part/s of the below information provided>? And what if the two ...
Chris Johnston's user avatar
0 votes
1 answer
37 views

A list saved in txt file with strings starting with p showing weirdly in notepad

This is what notepad shows: And this is what i actually saved:- (This picture was taken using wsl cat voice_list.txt) Can anyone explain what happened wrong in the notepad that it displays weird ...
Chetan Sharma0402's user avatar
-1 votes
1 answer
34 views

Editing a specific place with notepad++

I need to replace a text in Notepad++. How can i do? Text: (1, 1, 'qweq123we123'), (2, 1, 'qwe5qw123e42'), (3, 1, 'qweq1233we61'), (4, 1, 'qwe41qdw613e'), (5, 1, 'qweq12f3w41e'), (6, 1, 'qw21233eaqwe')...
eyuq's user avatar
  • 3
1 vote
1 answer
62 views

Convert comma to dot in notepad (Not every comma)

I have a data which looks like 5,960464,6,65430376927058E-10,-91,7689743041992,-89,5235061645508,6,71407200919707E-05,0,00869479635485696 11,92093,5,23110578457515E-10,-92,8140640258789,-90,...
Sunny's user avatar
  • 13
0 votes
2 answers
112 views

Search and Replace/Marking text over multiple lines in notepad++

I am working with twitter data on notepad ++ (xml files) and I'm trying to remove the retweets. Each RT starts with '<tweet id', they all contain '>RT @' and they all end with '</tweet'. ...
Tara's user avatar
  • 1
0 votes
1 answer
130 views

VBA code to find and replace double quotes in .xls in notepad

I need to replace double quotes in .xls SAP export file in notepad to be able to load it into excel and do other steps. The problem with .xls is that some double quotes are not finished and it causes ...
zmk's user avatar
  • 25
0 votes
1 answer
29 views

Notepad to Excel column conversion - How to Parse one mixed string to 2 different column in excel

I have data in notepad with more than 1000+ entries, which need to convert in to Excel with particular break based on length. can someone help 011000015FRB-BOS FEDERAL RESERVE BANK OF BOSTON ...
Kashyap Shah's user avatar
2 votes
1 answer
147 views

Why does Java StandardCharsets provide three "UTF-16" encoding types but Notepad only provides 2 options (BE & LE)? [closed]

StandardCharsets provides three entries for UTF-16: /** * Sixteen-bit UCS Transformation Format, big-endian byte order */ public static final Charset UTF_16BE = new sun.nio.cs....
fatherazrael's user avatar
  • 5,531
0 votes
1 answer
32 views

Selenium testing notapad app senKeys 'i' but writes it 'ı'. Why notepad do not recognize 'i'

Here is my test code: textArea method public WebElement textArea(){ return driver.findElementByClassName("Edit"); } test method @Test public void testNotepad(){ ...
Kamuransylmz's user avatar
0 votes
1 answer
75 views

Release Pipeline task File Transform converts line endings to Unix

I am using File Transfrom in Azure DevOps to transform an application's appsettings.json file, with JSON option, in Release Pipeline. The transform occurs and replaces variables as expected. When ...
Matt Fricker's user avatar
0 votes
1 answer
37 views

How to encounter error when uploading an arff file in WEKA?

Hi Im using WEKA for data mining and i have a project based on kid's usage of internet.I have downloaded the data from openML in .arff form and im processing them in Notepad i have changed the values &...
gina krts's user avatar
0 votes
0 answers
45 views

Extract compressed text files

I wanted to ask for some help to extract a few things. I have more or less 2TB of files that are zipped, and I want to unzip the .txt files and that inside that .txt file it says "Função: ...
Yasmin Gomes Vaz's user avatar
-4 votes
1 answer
40 views

How to repeat an instruction of raw_input

I have a question: how to repeat an instruction of raw_input in python 2.7.5? print("This is a NotePad") main = raw_input() this is the code(I started 3 minutes ago.) I can't find an answer ...
EvrestRGB's user avatar
0 votes
0 answers
22 views

separating a notepad file into multiple files

I have very minimum, essentially no programming knowledge besides an introductory python course at my univeristy so I apologize if this question is worded oddly. In my current internship one of my ...
paprikadoor's user avatar
1 vote
1 answer
113 views

How to save textbox text to notepad and save again a textbox text to add it into the same note pad?

I want to save my textbox1.text in a notepad of my computer. And after saving that, I will save the next textbox1.text again. But I want it to be added to the same notepad. Anyone can help me on the ...
Newbie TJ's user avatar
1 vote
1 answer
202 views

How to put Arabic text in a txt file

I have been trying to put Arabic text in a .txt file and when do so using the code bellow I get this error: UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-4: character maps ...
user avatar
0 votes
1 answer
69 views

Is it possible to delete all those text files (Notepad) that were created while Frame was running after closing the frame?

I want all text files (Notepad) created during run time to be deleted every time I close the program. For example, while my program was running, files (ex. foods.txt, numbers.txt, and fruits.txt) were ...
Cypher's user avatar
  • 11
2 votes
1 answer
66 views

I'm writing an automation code for notepad

I want user to enter a path and then my program should open all txt files in that folder. i wrote my code like this and i have no idea how to tell it to open all the txt files. thanks for your help. ...
gmh's user avatar
  • 23
1 vote
3 answers
78 views

Bat file that copy text.files after applying 2 filters

I'm a biologist, with no coding knowledge, trying to create a script that reads every *rprt.txt file in a folder. In line 11 of each file, the fifth word is a number, If that number is 6000<number&...
Esferiv's user avatar
  • 13
-1 votes
1 answer
328 views

External VBS script to open excel file run macro and save as self [duplicate]

The code keeps producing this error seems to be this line " xlBook.SaveAs Filename:="Template 1", FileFormat:=xlOpenXMLTemplateMacroEnabled " trying to run an external VBS script ...
Yaki Just's user avatar
0 votes
1 answer
72 views

Copy columns into Notepad

I have following Excel VBA code to open Notepad and copy Excel columns into Notepad. Dim wsSource As Worksheet Dim rDataRange As Range Dim rCell As Range Dim sCellContent As String ...
Heinrichxx's user avatar
-2 votes
2 answers
104 views

Delete all rows which contains 2 or more @ characters

Is there a way in notepad ++ to delete all rows which contain 2 or more @ characters on the same row? I have a big list of email addresses. Some email addresses are incorrect because there are ...
snorkel's user avatar
  • 17
0 votes
0 answers
77 views

Read input live from the terminal C++

I want something with C++ that can read what I type in the terminal and assign it to a string variable. I want this for a project to make something like notepad, but in simple terminal form, so I need ...
user avatar
0 votes
2 answers
168 views

How to replace text & number and add a other specific text & number in notepad++

I want to edit a file using Notepad++, in such a way that I can replace a line containing a specific word, For example : edit 792 set name "XXXXX" set action accept next edit 957 set ...
thirteentwelve's user avatar
0 votes
0 answers
3 views

A text editor which prevents users from "find" functionality

i am organizing a competition in which the participants will use any programming language to traverse a text file to find a specific piece of information. i want them to code the solution rather then ...
Murtaza Mustafa's user avatar
0 votes
1 answer
36 views

1st Python file creation in Notepad on Windows getting error

So I've read through countless people asking similar questions but none seemed to be the answer I was needing. Tonight I started the W3 Python tutorial. I downloaded the latest version of Python. The ...
Kayla's user avatar
  • 1
0 votes
3 answers
59 views

Creating a .txt file with VBA. How do you create variable spaced columns?

I have managed to use piece of code which will export data from an Excel spreadsheet and into a .txt document. Due to the nature of the task however the data has to be certain spaces wide, i.e the ...
Caedmon07 's user avatar
-1 votes
1 answer
40 views

How to remove every line that doesn't contain special/specific characters in Notepad++

I would like the remove every line that doesn't contain the next characters: ! ? # * $ [ ] { } - _ ( ) How should I do that, please?
Breyan's user avatar
  • 1
2 votes
1 answer
90 views

R: Saving the Output of "dput" in a txt File

I am working with the R programming language. Suppose I have the following dataset: id = 1:10 var_1 = rnorm(10,10,10) var_2 = rnorm(10,10,10) data_1 = data.frame(id, var_1, var_2) If I use the "...
stats_noob's user avatar
  • 5,391
0 votes
1 answer
668 views

Pass a password & username without prompting in Powershell to open an application [duplicate]

I'm working on a script (.ps1) to open Microsoft Dynamics Nav with a specific user credential. The last error I received was "Directory name is invalid," even though I copied & pasted it ...
PhatCash's user avatar
0 votes
0 answers
221 views

CSV to notepad changes the decimal places

When I converted a file from CSV to notepad, the number of decimal places in the notepad changes to 4 decimal places. How can change this so that notepad can read the exact number of decimal places ...
chi05's user avatar
  • 13
-1 votes
2 answers
129 views

notepad++ how to use regex to find lines that have two capital letters in a row?

how to use regular expression to find strings containing two capital letters in a row? ^([A-Z\s]+)$
JOHN SMITH's user avatar
0 votes
1 answer
73 views

How to setup properly RichTextBox tool or coding to account delimited and tab space on string (i.e. proper format of text)

I am using the following coding to send text (string variable) to a text file (notepad.exe) and to a RichTextBox on a Dialog form. Private Sub OutputToScreen(ByRef AnyString As String) Dialog1....
dnicruz's user avatar
0 votes
1 answer
232 views

Convert font "Cambria Math" to plain text with js

I have a text "𝐓𝐁𝐋", the problem is that when i get this text it doesn't change, it stays in font format "Cambria Math". Notepad doesn't help translate this. The font can be ...
Vladislav moroz's user avatar
-1 votes
1 answer
28 views

Remove a text string using notepad ++

au/centre/morton?fbclid=IwAR1jANqDaRYOf5nK2O4Gf5FlD3m9V8ltAnEExTtSpOGqfOomwnEj74S1o-I_aem_AdvyP_31s0CjBjtcRzzsrE5VrKEWE4Ulb_G6RQZp4sFYTvvltfJoTq4CzORC7CEDIoiwQM8WiN3RFcV2-...
Alex Wong's user avatar
-2 votes
1 answer
70 views

how to keep only 11 length by line in notepad? [closed]

for exemple, there will be a list like this one: 12345678901:1020 12345678902:1030563 I'd like to keep it like this format: 12345678901 12345678902 basically, 11 digits by line
Israel Costa's user avatar
0 votes
1 answer
48 views

How to separate files by the ninth digit

My idea would be to keep only the ones that contain the number "8" in the ninth position. Example: A list of numbers with 11 numbers each line 162156258 12 we keep this one because it's an &...
Israel Costa's user avatar
0 votes
0 answers
153 views

Alternative to Send Keys - copy and pasting Excel data to Notepad

Essentially I am trying use VBA to copy data from Excel and paste values in a new notepad file. I was able to create a successful macro using sendkeys, but am trying to avoid this I know it is not the ...
arisophia's user avatar
0 votes
2 answers
129 views

R write.csv has weird formats in Notepad

I’m doing a very simple write.csv() after manipulating strings and dates. Everything looks good in the csv file but when I open in notepad the date format changes and there are quotes around ...
Divs's user avatar
  • 137
1 vote
1 answer
27 views

Save lines of txt file into csv

I have a txt file that looks like this a,b,c 0,0,0 0,0,0 * x,y,z 1,1,1 1,1,1 * u,v,w 9,9,9 9,9,9 * I would like to save every three lines excluding the asterisk into csv files so my csv files look ...
Eureka's user avatar
  • 93
0 votes
0 answers
133 views

SSMS SQL: CHR(9) being replaced by a space when copying and pasting Query Result to Notepad- is there a setting? [duplicate]

I'm running a query inside a an SP to build a line of text eg: SELECT 'Heading1' + CHAR(9) + 'Heading2' + CHAR(9) + 'Heading3' AS TextLine UNION SELECT String1 + CHAR(9) + String2 + CHAR(9) + String3 ...
JeffD's user avatar
  • 1
0 votes
1 answer
126 views

How to count lines in qscintilla?

I'm using QScintilla to make my own notepad for fun in pyqt5 python. I was wandering if there is a way to get the number of lines of a QScintilla() widget?
Souvlaki42's user avatar

1
2 3 4 5
16