Open Notepad++ with file under cursor

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
perab
New Member
New Member
Posts: 1
Joined: 2023-11-22, 19:43 UTC

Open Notepad++ with file under cursor

Post by *perab »

Hello,
I have created a button for opening the free text editor Notepadd++. However, I want to improve the concept, so when I click this button, the file on which the cursor is positioned will be opened automatically in Nodpad++. I guess that this may be utilized by appending some command swithes to the command. Anyone who knows which command switch(es) I should provide?
User avatar
Dalai
Power Member
Power Member
Posts: 9461
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Open Notepad++ with file under cursor

Post by *Dalai »

Add parameters %P%N into the button's Parameters field.

Or, set Notepad++ as editor in Options > Edit/View > Editor for F4.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply