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
3
votes
1 answer

VBA to Add 22 pipes(|) to Text file using Macro

I hope you can help I have a piece of code and what it does is it takes information from two excel sheets and puts it into two text docs for consumption in a database. The code I have works fine but 22 columns have been added in the database where…
Philip Connell
  • 651
  • 5
  • 25
  • 53
3
votes
1 answer

Regex Python Not Returning Desired Outcome

Hi I have a script to go through a notepad of numbers with a series of regex's. My regex's are working with the exception of a few values that are not showing up properly. For instance some number examples such as 11111-C00 or 22222-X01 they are…
lucyb
  • 333
  • 5
  • 15
3
votes
1 answer

Inserting a page Break in a text file by inserting FormFeed Character. Is this Universal solution?

Inserting a page Break in a text file by inserting FormFeed Character using Java. Is my solution universal or will it cause any problems? Sample Code: PrintWriter bof = response.getWriter(); // Obtained Writer from HTTP…
Vishnu300
  • 126
  • 2
  • 11
3
votes
3 answers

NppFTP - upload failed (using SFTP)

Using FTP, everything is ok... but.. When i use SFTP, it successfully connects, and even, when i use "UPLOAD BUTTON", it successfully uploads file... but when i edit+save file, and it starts to upload changes automatically, it cant upload (red…
T.Todua
  • 53,146
  • 19
  • 236
  • 237
3
votes
5 answers

Cannot be resolved or is not a field (Notepad exercises from android dev website)

I'm running through the notepad exercises on the android dev website, currently working on exercise (found here). I came to the end of the tutorial and found that I had several errors in the main two java files regarding R file relations, such as…
None
3
votes
2 answers

Open and Write to Notepad from excel VBA

I need to open notepad and write my results from my macro to it. I want to open notepad and write to it, and have the user review and if he or she wants to save it then save it wherever they like. Instead of writing to it and saving on the computer…
David
  • 203
  • 2
  • 4
  • 10
3
votes
2 answers

How to press "ALT+F4" using AutoIt

I am new in AutoIt. I have run the notepad by using the following code in AutoIt: Run("notepad.exe") Now I want to quit the application by using "ALT+F4". How to press "ALT+F4" with AutoIt tool?
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
3
votes
3 answers

Python Subprocess for Notepad

I am trying to open Notepad using popen and write something into it. I can't get my head around it. I can open Notepad using command: notepadprocess=subprocess.Popen('notepad.exe') I am trying to identify how can I write anything in the text file…
Bash Noob
  • 53
  • 2
  • 10
3
votes
2 answers

Find and Replace string in a .txt file with VBscript

I am trying to figure out how to use vbscript to: 1 - open a .csv file as a .txt file 2 - search for a certain string of text that is located randomly throughout the text 3 - replace that string with a different string. I have found an article that…
M199463
  • 41
  • 1
  • 1
  • 3
3
votes
1 answer

Python create save button that saves an edited version to the same file(not save as)

This is a simple notepad program that i am currently writing. Most things are working but cannot get the save to work. Where i have defined save i don't know how to create the save function(not save as). NOT THE FULL CODE from tkinter import * from…
zacdevil10
  • 47
  • 3
  • 9
3
votes
1 answer

Why does fprintf behave differently in text mode compared to a properly set carriage return in normal mode?

The following question is more a curiosity than a problem. I stumbled over this question, offering two different answers which seem to be equivalent. But they aren't, what made me thinking. Imagine a system call which echoes two lines: [~,message]…
Robert Seifert
  • 25,078
  • 11
  • 68
  • 113
3
votes
1 answer

Android- Simple bookmarks from a webview

I am trying to implement a bookmark system into my app which uses webview to load one of several html pages from a spinner. Ideally, I would like the currently viewed webpage in the webview to be saved into a bookmark database after the user clicks…
user1363871
  • 580
  • 3
  • 11
  • 29
3
votes
3 answers

EditText height-length

I have been trying to create a simple note pad and I can't create in xml file an EditText that would match parent like that: in xml:
noobProgrammer
  • 1,443
  • 4
  • 14
  • 33
3
votes
1 answer

Understand how to use backtick with notepad(MS)

if I do with powershell that [string]$text = "this `nis a `ntest" $text > c:\test.txt with notepad++ this is the result: this is a test but if I open it with notepad of windows it doesn't work: this is a test why that?…
rschirin
  • 1,939
  • 10
  • 34
  • 44
3
votes
1 answer

How to programmatically pass html string directly to web browser using c#?

Well, for example I have some simple console application. My purpose is to generate some report and represent it to the user in some external application such as notepad or a web browser. class Program { [DllImport("user32.dll",…
Dmytro
  • 16,668
  • 27
  • 80
  • 130