Old 26th July 2022, 07:08   #1
willwade
Junior Member
 
Join Date: Jul 2022
Posts: 3
Priority Focus app -

I'm creating a Windows App that will give toast notifications. The problem is we want it to be available in the "Focus Assist Priority Apps List". Basically you can allow any app to notify you when you are in a full screen app IF the app is in this list. From our reading it looks to be that the app has to be registered correctly. To do this means it has to have a

This code looks promising - https://github.com/safing/nsis-shortcut-properties - but its three years old and I cant get it to work on Windows 10.

There is this too - https://nsis.sourceforge.io/WinShell_plug-in - and although that seems to set the AUMI I'm not sure its doing anything about registering itself correctly as a priority app. The docs seem really sparse on this - and nothing I can find on StackOverflow. Anyone out there know anything about how to set a app to be available as a priority app for focus assist?

NB: this looks to be the most relevant MS docs - but still not 100% this is really everything: https://docs.microsoft.com/en-us/win...appusermodelid
willwade is offline   Reply With Quote
Old 27th July 2022, 17:57   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,528
Quote:
Originally Posted by willwade View Post
From our reading it looks to be that the app has to be registered correctly. To do this means it has to have a
Where are you reading this?

Other than the answer on Stackoverflow, I don't know what else to say.

The WinShell plug-in was invented before focus assist.

Do you see other non-Microsoft apps in the list?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
setaumd, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump