783 questions
0
votes
1
answer
74
views
Notepad++ (how to insert text to specific line)
how do i insert or add a text to specific lines using notepad ++ for example
say i have this line :
<Additional_Population_Capacity>111</Additional_Population_Capacity>
now i want to add ...
0
votes
2
answers
283
views
Windows Notepad replace paragraph break with a character
I'm using a batch file to collect file names inside a folder:
dir /a /b /-p /o:gen >names.txt
The result is a txt file with file names but has paragraph breaks:
file1.psd
file2.psd
file3.psd
I ...
0
votes
1
answer
108
views
How to write txt file at same file path but preventing window to update notepad display
I like to show string in notepad for easier debug purpose.
I have been used the following VBA codes to display string for years. I use office 2021.
Public Sub writeTxt(ByVal sOri As String)
Const ...
3
votes
0
answers
361
views
How to change content of .eml email file with Base64 encoded text?
I have a .eml email file which I want to send. I open the file Outlook but it contains some unnecessary sentences which I want to delete.
I tried to open the .eml file in notepad and locate the ...
-2
votes
1
answer
121
views
How can I setup default editor for using Git?
In windows ,choosing default editor can be VIM, Visual studio code , Wordpad, Notepad.
What is the difference in this all editor while using Git.
which could be the ideal default editor while using ...
0
votes
3
answers
98
views
Copy from Cell In Excel and copy to next available Line in Text File
I have created a VBA macro to convert an excel sheet into appropriate forms and create a one cell string on my 4th worksheet. I am looking to copy that string in excel and paste it into a notepad at ...
0
votes
1
answer
91
views
How to copy excel data into multiple notepad file by vba
I have 4 column in my excel data, this is location wise data (Column-A) but I want location wise filter and only Barcode would copy and it has to paste in to notepad there is not limit of bar-codes ...
0
votes
1
answer
535
views
Windows11 Notepad cannot find by FindWindowEx in vb.net
I want to find notepad in Windows 11 by using vb.net source.
But I always get notepad window not found error.
I think Windows 11 notepad is changed style that is the main reason.
It totally work in ...
3
votes
2
answers
995
views
how can i do a alias in powershell to start notepad++
How can I do a alias in powershell to start notepad++
have Start notepad++
and have alias i wanna combinate that
set-alias -name notepad -value start notepad++
but i get this error
Set-Alias : A ...
0
votes
1
answer
172
views
InputSimulator Keyboard.TextEntry is not working
I'm trying to open a notepad instance and write a virtual text entry to it. The notepad opens securely but nothing is written on it. What would be the problem and why?
using System;
using System....
0
votes
0
answers
65
views
Can not open EXE interactively while running PowerShell remotely using C#
I am trying to execute PowerShell command on remote machine using C# code.
This command should launch notepad in the remote computer.
I am facing two issues:
While executing code, I can see process ...
-2
votes
1
answer
137
views
Convert notepad data into excel
I have some data in my notepad which looks like this :
node1
7
p 2
r 5
node2
6
p 2
r 4
I want to convert these data to excel file using python so that a excel is created with rows as node1 and node2 ...
4
votes
0
answers
504
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 ...
0
votes
2
answers
216
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 ...
-1
votes
2
answers
39
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 ...
1
vote
0
answers
752
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....
0
votes
0
answers
129
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 ...
-1
votes
1
answer
228
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 ...
0
votes
1
answer
163
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 ...
-1
votes
1
answer
80
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')...
1
vote
1
answer
78
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,...
0
votes
2
answers
156
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'. ...
0
votes
1
answer
233
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 ...
0
votes
1
answer
116
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 ...
2
votes
1
answer
428
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....
0
votes
1
answer
33
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(){
...
0
votes
1
answer
301
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 ...
0
votes
1
answer
58
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 &...
-6
votes
1
answer
63
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 ...
0
votes
0
answers
40
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 ...
1
vote
1
answer
509
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 ...
2
votes
1
answer
763
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 ...
0
votes
1
answer
450
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 ...
2
votes
1
answer
188
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.
...
1
vote
3
answers
188
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&...
-1
votes
1
answer
535
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 ...
0
votes
1
answer
133
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
...
-2
votes
2
answers
276
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 ...
0
votes
3
answers
761
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 ...
0
votes
1
answer
79
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 ...
0
votes
3
answers
192
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 ...
-1
votes
1
answer
81
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?
4
votes
1
answer
261
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 "...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
424
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 ...
-1
votes
2
answers
296
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]+)$
0
votes
1
answer
83
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....
0
votes
1
answer
598
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 ...
-1
votes
1
answer
42
views
Remove a text string using notepad ++
au/centre/morton?fbclid=IwAR1jANqDaRYOf5nK2O4Gf5FlD3m9V8ltAnEExTtSpOGqfOomwnEj74S1o-I_aem_AdvyP_31s0CjBjtcRzzsrE5VrKEWE4Ulb_G6RQZp4sFYTvvltfJoTq4CzORC7CEDIoiwQM8WiN3RFcV2-...
-2
votes
1
answer
170
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