[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Windows 10 Taskbar Behavior

From: Rob Davenport
Subject: Re: [h-e-w] Windows 10 Taskbar Behavior
Date: Mon, 26 Oct 2015 19:40:52 +0000

One other point (sorry for the last 'novel' of a reply...)

I spent some time this weekend trying to determine if we could write a simple 
script to add the AppUserModelID to the shortcut - either  Powershell, Windows 
Scripting, VBScript, Jscript, C#, whatever.  The script would create the 
shortcut with the ID (and even do the registry tweaking - perhaps obviating 
addpm).  Creating a shortcut in those languages Is not hard.  But I did not 
find a way to add the ID without resorting to the same APIs we're looking at 
adding to addpm.  Again, because most use of the AppUserModelID relies on the 
convention that a Windows installer is used to create the shortcut with the ID. 
So in the interest of not mixing in another technology, I still think updating 
addpm is the way to go right now.  Maybe also making more of the behavior 

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Eli Zaretskii
Sent: Monday, October 26, 2015 11:55 AM
To: Rob Davenport <address@hidden>
Cc: address@hidden; address@hidden; address@hidden
Subject: Re: [h-e-w] Windows 10 Taskbar Behavior

> Date: Mon, 26 Oct 2015 00:02:34 -0400
> From: Rob Davenport <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, "address@hidden" <address@hidden>, 
>       David Vanderschel <address@hidden>
> OK. I figured my mystery out. I ran the process monitor when pinning and saw
> Windows looking through the Start Menu for GNU Emacs.lnk.

Does Windows look at that shortcut only if you invoke Emacs from the
Start menu, or does it do that for all the other ways of invoking
Emacs, like the cmd prompt, a desktop shortcut, the Run dialog, etc.?

> So if we fix AddPM to put the app id into the shortcut it creates in the Start
> Menu, Windows 10 should find it and create the correct shortcut when you pin
> Emacs to the taskbar. 

If we find a way to do that from a MinGW-compiled C program, we will.

Although I'd recommend that people stop using addpm altogether, and
instead use the standard ways of adding Emacs to the Start menu,
because addpm does more than just add a shortcut there.  Or maybe send
patches for making the other stuff optional, controlled by some
command-line switches.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]