Windows app in full screen autostart?
Hi everyone, I'm currently facing the following problem and would appreciate any possible solutions. I want the Windows app "Wireless Display," which allows me to use my Windows computer as a Miracast receiver, launch automatically at boot time, and do so in full screen. If I put the app in shell:startup, it does open, but only as a window and not in full screen. For this, there's a full screen button in the app to the left of the close, maximize, and minimize buttons. The app is installed as an optional Windows feature.
Thanks in advance.
Open the app and make a right click on the title bar. There you select properties and can therefore permanently edit the size of the window.
I want full picture, not maximized.
As easy as you imagine, unfortunately, the number is not.
Usually, developers don't give their GUI applications any command line parameters to the way to do something automated… that would be necessary for such an "action".
Nowadays, no real fullscreen is used anymore. Instead, the programmer provides a function that changes the properties of a window so that it fills the entire screen without a frame. ( in the GUI framework there are corresponding "properties" )
The full-screen button is not a standard switch and was "tinkered" by the app developer to set the necessary parameters internally… but I have no access to it from outside…
In a window-based system, a (fullsreen) window does not make any sense, as a window without operating elements did not even stop in the worst case! Therefore, there is no such standard button and also no normally accessible parameters that could set a lay! …and because errors on the part of a laity could make Windows unusable. (a dead/empty window that covers the screen is a horror)
…that was the explanation for the layman
..and of course you can know with the appropriate and tool also not intended things…
So also to force a (other) window to do something that should not be allowed😣
Here is a small demo in Powershell, which forces the Windows editor (notepad.exe) into a kind of "full image" mode. (can be closed via ALT+F4)
demo.ps1
because this already intervenes quite deeply in the "mechanics of the system I have deliberately played with open cards and defined the whole stuff openly, which can actually be expressed by a pair of numbers.
Of course, this goes shorter and packed in a batch file that can be placed in the autostart.
demo.cmd
The only line you need to change in the editor is " $ProgramToStart = '…' .
Your program path comes in and the batch comes (if everything works as desired) into the autostart.
Of course, I can't guarantee that every program accepts such a defensive operation uncomplicatedly. However, you don't need to worry about something that's going to break up. No matter what could happen, no matter what after a restart, the manipulation is unshakable…
(I don't give anything to hurt anyone)