Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
SniperFodder
37 discussion posts
I run Powershell from the Windows Terminal from the Windows store. Whenever Powershell creates a new window (e.g. an MFA sign in form for AzureAD, or a filechooser for selecting files), this windows for some reason creates below the full screened terminal window, and doesn't show up in the start bar so I don't know the system is waiting on input. I want to set it so that the window that is created is always on top, however I can't seem to find a trigger function that does this.

There is a "Toggle windows always on top" but this seems to flip the toggle on and off every time the trigger is run. I do have the pin set to keep those windows on top, but sometimes that pin gets turned off for whatever reason, so having a trigger run to force that window on top would be nice.
Aug 17, 2021  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There's a scripting function for forcing a window to be topmost:

BFS.Window.SetAlwaysOnTop(windowHandle, true);


If you create a scripted function with that line in it, then run that from the Trigger, that should do the trick :)
Aug 19, 2021  • #2
User Image
SniperFodder
37 discussion posts
Hi Keith,

Thanks! That seems to have done the trick.
Aug 19, 2021  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it!
Aug 19, 2021  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)