🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265116

Re: [dialog] Can I set dialog to edit in Notepad++

#265116
From: bill
Date: Thu, 12 Aug 2021 15:37
97 lines
5555 bytes
On Thu, 12 Aug 2021 06:10:43 +0200, Bernd Rose wrote:
> You ask so many question in so many different places, that you loose track
> of the answers.

I appreciate your help. I'm a very detailed person. 
I respond to everyone, with those details. :)
But I don't really have any questions left so I'm just responding to issues.

>> Notice mine isn't in the taskbar per se. It's in a toolbar in the taskbar.
> 
> I can't reproduce your problem. 

I think VanguardLH already reproduced what I saw, plus when I looked it up.

It "appears" the Notepad++.lnk shortcut must be in a certain "path" for the
[control][alt][n] keyboard shortcut assigned to it to work.

So there is no mystery other than the definitive list of where the
Notepad++.lnk shortcut should be in order for the keyboard shortcut assigned
to it to work.

The three places that we know of are not places I store _anything_ (but I do
easily concede that most people are nowhere nearly as organized as I am on a
computer so for most people those three places would work just fine.

> But you can pin Notepad++ directly to the taskbar while running. 

Of course. But I already stated that I'm extremely well organized. 
Everything has a place. Editors do not belong in the taskbar in my model.
Editors don't even belong in my WinXP style pullout accordion cascade menu
attached to the taskbar (although they are there, just for completeness).

The reason is that you almost never execute an editor in and of itself. 
You almost always doubleclick on a file which then brings up the editor.

Besides, _all_ the programs I use, including the editors, have an AppPaths
key dedicated to bringing them up if and when I (rarely) want to.

So, for example, to bring up "vim", I just type [windows][r][v][enter].
To bring up Notepad++, I type [windows][r][n][enter].
To bring up MS Word, I type [windows][r][w][enter].
etcetera

For decades for organizational reasons, my choice has been to not put file
editor shortcuts in the taskbar.

There's no reason to break that rule now since leaving Notepad in the
StartMenu (which normally is empty for me) works just fine (as I almost
never see the StartMenu unless I accidentally hit its hotkey combination).

> Afterwards, you can assign a hotkey inside the icon
> shortcut properties. At least if it is done with your current user rights, 
> the hotkey should work with your user rights, immediately.

I saw your suggestion as to why adding the [control][alt][n] to the
notepad++.lnk shortcut required an OK from Admin but I doubt I created those
original shortcuts as admin (since I'm almost never logged in, explicitly
anyway, as admin - although the one user I am has admin privileges).

However, I'm not in the least worried about the request for admin, since
both you and VanguardLH kindly reported you didn't have that minor annoyance
anyway - so it's just a fluke of the way my system is set up (which is set
up pretty tightly).

Anyway, in summary, all is solved in that the following is my summary:
1. It's likely not feasible for a person like me to try to write a script
   that calls an external editor for Dialog unless that script already
   exists (where I can re-purpose its call from editor1 to editor2).

2. It's easy enough to cut-and-paste from a Dialog composition window
   into the desired editor and then to paste back when done editing.

3. All the steps were just to make that cut and paste a set of keyboard
   shortcuts, where the _new_ keyboard shortcut, thanks to this thread
   was to add [control][alt][n] instead of what I was using prior, which
   was [windows][r][n][enter] to bring up Notepad++.

For those of you who wish to experiment with the App Paths, just add any key
you like of any name you like, where the only rule is it _must_ end with
"exe" even if there is very likely no file name of that name in your path.

a. First make sure that the desired key does NOT work, e.g., 
   [windows][r][d][enter]  (nothing should happen when you do that)

b. Assuming that fails, then open the registry and add & apppath for dialog:
   HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\
   Add a new key named "d.exe" and have it point to the 40tude dialog exe.
   d.exe === "c:\your-path-to\40tude Dialog\dialog.exe"

c. Forevermore, when you want to start 40tude dialog, you just press keys
   [windows][r][d][enter]  (this should forevermore bring up dialog)

Regards,
bill 
-- 
A cowboy kept trying to draw his gun
Unfortunately, he couldn't find a pencil.
Technical Details
Message-ID: <sf3f6h$k0u$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sevelu$1qrk$1@gioia.aioe.org> <l01qbjvknuqe.dlg@v.nguard.lh> <sf0pg9$16vs$1@gioia.aioe.org> <20210811163605.abc503d2af7b32d36dd31e34@127.0.0.1> <sf12g8$1bn1$1@gioia.aioe.org> <aje23prjgwng.dlg@v.nguard.lh> <sf23af$18a9$1@gioia.aioe.org> <1qaeainv3x9gl$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <sf3f6h$k0u$1@gioia.aioe.org>
Subject: Re: [dialog] Can I set dialog to edit in Notepad++
Date: Thu, 12 Aug 2021 17:37:05 +0200
From: bill <bill@spam.invalid>
References: <sevelu$1qrk$1@gioia.aioe.org> <l01qbjvknuqe.dlg@v.nguard.lh> <sf0pg9$16vs$1@gioia.aioe.org> <20210811163605.abc503d2af7b32d36dd31e34@127.0.0.1> <sf12g8$1bn1$1@gioia.aioe.org> <aje23prjgwng.dlg@v.nguard.lh> <sf23af$18a9$1@gioia.aioe.org> <1qaeainv3x9gl$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298)
Content-Type: text/plain; charset="us-ascii"
X-Notice: Filtered by postfilter v. 0.9.2
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0