FG
💻 Software

How do I add "input" to my macro, to replace text in Notepad++?

Fresh7 days ago
Mar 15, 20269563 views
Confidence Score0%
0%

Problem

I'm trying to make a macro with an 'input' pop-up dialog that synergizes with the replace feature. It should go something like: "Paste text->ask for input->replace variable in pasted text with input value". Does anyone know how to do this? Especially interested in finding a variable/input option. C…

Error Output

import * from npp
my_prompt = Notepad()
initial_string="""

  THIS IS A HUGE
  STRING
  WITH COMMENTS
  AND FUNCTIONS
  AND
    NESTING
    MISSPELLE…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I add "input" to my macro, to replace text in Notepad++?

Low Risk

First: Go to the "Plugins" drop-down menu. Open the . Download for Notepad++. Via the prompt, restart Notepad++. Next: Go to Plugins in the drop-down menu. Click . Save the script with a extension. Copy and paste this code, then edit it: Save. Now, …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment