🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265108

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

#265108
From: bill
Date: Thu, 12 Aug 2021 03:08
94 lines
5448 bytes
On Wed, 11 Aug 2021 16:32:42 -0500, VanguardLH wrote:
> Shortcut hotkeys seem to have a limited scope. 

Yeah. Windows must have rules for where it looks for keyboard shortcuts.

All I know is when I assigned "control+alt+n" to the Notepad++.lnk shortcut
in my taskbar toolbar it didn't work but when I did the exact same thing to
the Notepad++.lnk shortcut in my StartMenu, typing "control+alt+n" worked. 

> Most times and in many
> places where I have shortcuts, they don't work for me. 

The shortcuts work no matter where they are but I think you mean the
keyboard shortcuts (which is a property of the shortcut) don't always work
unless the shortcut itself is in the "right" place - which is apparently
defined by Microsoft as the desktop or the StartMenu (and maybe elsewhere).

Since I don't have any shortcuts on my desktop, by design, it's going to
have to be in the alphabetic StartMenu (which I normally keep empty).

> Only if the
> shortcut (.lnk file) is on the desktop (%userprofile%\desktop) or in the
> Start folder ("%appdata%\Microsoft\Windows\Start Menu" on Win10, don't
> remember for WinXP) does the shortcut's hotkey work.  Might also work in
> a subfolder under the desktop folder. 

I asked on the Windows newsgroup but nobody has answered yet where shortcuts
must be in order for keyboard shortcuts to work.

This implies it works for StartMenu shortcuts and for pinneditems.
https://www.winhelponline.com/blog/assign-hotkey-windows-10-start-menu-shortcuts/

This doesn't even say that it won't work in the cases I've found.
https://www.popsci.com/story/diy/custom-keyboard-shortcuts-windows/

> Microsoft as repurposed many KB article numbers, so URLs to some old web
> pages, especially for unsupported versions of Microsoft, like Windows
> XP, are no longer available.  By my recollection of a then-existing KB
> article said shortcut keys only work when the shortcuts are on the
> desktop or under the Start menu hierarchy.

This implies there are THREE locations (desktop, startmenu, taskbar)
https://www.tenforums.com/tutorials/93130-how-assign-keyboard-shortcut-shortcuts-windows-10-a.html

Notice mine isn't in the taskbar per se. It's in a toolbar in the taskbar.

Personally I don't like having ANYTHING in my start menu (either the
alphabetic or the tiled start menu) but if I have to, I'll leave the
Notepad++.lnk there for now.
 
> Do you have a shortcut in the Start menu somewhere?  Or on your desktop?
> I noticed that using a hotkey for a shortcut will load the program, but
> there is a lag before the program loads.  I would also make sure the
> shortcut with hotkey (on desktop or in Start menu) points to an
> executable file, not to a data file which operates by filetype
> association.

I don't put anything on the desktop but "mypc" and "recyclebin".
If something goes on the desktop, I move it to where it belongs.

Normally that happens during an installation where I move the shortcuts to
where they belong on my winxp style cascade toolbar attached to my taskbar.
 
> For me, shortcut hotkeys have little value since I tend to keep my
> desktop folder trimmed.  I like order and neatness.  The insides of my
> computer are likewise.  So is my home, car, and work and lab desks.  I
> got ribbed at work that no one can tell if I have been at my desks.

Like you I'm one of the most well organized people you've ever met, at least
for a computer. I'm so well organized my menus can be copied over from
Windows XP and they'll still work on Windows 10, ten years later, since I
have a place for everything and everything in its place.

Given there is limited real estate in the taskbar, I only put shortcuts in
the taskbar that I use a lot and that don't open by themselves.

An example of something that doesn't need to be in the taskbar is Notepad++
because I simply doubleclick on a txt file to open that file in Notepad++.

Another example of what doesn't need to be in the taskbar is Irfanview
because Irfanview will open up when I doubleclick on a JPG file.

What does need a shortcut are things like browsers (although if I wanted to,
I could create HTM files that open up in browsers but I use a variety of
browsers so any one default would need a host of default html, htm, etc file
types which would be a kluge.

The solution I have now is pretty good, which I will outline as a solution.

Regards,
bill 
-- 
Looking for a pencil, I asked in the local shop if they keep stationery.
Chap said "I move around a bit".
Technical Details
Message-ID: <sf23af$18a9$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>

Show Full Headers
Complete Article Headers
Message-ID: <sf23af$18a9$1@gioia.aioe.org>
Subject: Re: [dialog] Can I set dialog to edit in Notepad++
Date: Thu, 12 Aug 2021 05:08:14 +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>
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
X-Notice: Filtered by postfilter v. 0.9.2
User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298)
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Organization: Aioe.org NNTP Server
Newsgroups: news.software.readers