Replies: 1 comment
-
Re that "top bar" what you're likely seeing is due to some changes in Windows 10 over the years. For example the default toast (when you just run And now without any code changes, the only thing being a feature release or two for Windows 10, it now looks like this: What used to hide that top bar was the "app logo override" which on these is that photo of some burnt toast (you'll note that the name of the app is down the bottom of the toast, in the old one I'd managed to make it show as "BurntToast" but you'd normally see it as "Windows PowerShell".) At some point Microsoft decided they needed better visibility for users of what is sending notifications and so they made it so that the little icon and app name always shows and I'm not sure of a way to get rid of it. Re actions, it is possible to trigger actions inside of PowerShell itself on a button press but the limitation is that it requires PowerShell 7.1 and above. I've got some examples here: |
Beta Was this translation helpful? Give feedback.
-
Looking at some of the screenshots in the issues/discussions, I notice some of the notifications don't have the top bar containing the icon/app name. Is there a way to do this?
Also quick question: I've read a lot of the issues/discussions about registering powershell to open with a URI. But is there a way to launch a batch file, or execute a powershell command/send to powershell when a button is pressed without the URI method?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions