21
Post New Requests Here / Re: tool to fullscreen (not just maximize) any application?
« on: May 16, 2007, 09:16 AM »
- fullcreen app always goes to screen 1: feature or bug? you decide
- I see a pixel or two on screen 2 (right border) edit: ahh one of the two variables (padding to 0 solves it :Thmbsup:
- add WinSet, Redraw,,%ID% before end of subroutine to prevent screen redrawing options on vista!
-justice (May 16, 2007, 03:22 AM)
Yes, I totally ignored multi-monitor setup in that script, mostly because I don't use one most of the time. It also made the script simple; with a multi-monitor setup where you potentially can have a fullscreened app on each monitor, you're going to have to get more fancy: not only do you have to memorize which app is fullscreened on which screen, but you also have to work out what an un-fullscreen keystroke is to do (i.e., there are a number of "logical" ways to interpret such a keystroke then).
Interesting about "padding". I used it to eliminate some extra "glare" around the screen border... if I set padding=0 and fullscreen a dark background window, then the around the edge of the screen I'll get a bright outline 1- or 2-pixels wide. Hence "padding=2", which actually I meant to call "anti-padding". But if you say that this causes the window to stick out onto the next screen, then... I see, I guess just stripping the window border and titlebar leaves the window's client area still in some sort of container window which shows through by 1- or 2-pixels around the client area. I wonder what a clean way of getting rid of that would be. That extra border is annoying, especially considering that the whole point of fullscreening the app, at least for me, is to eliminate any visually distracting elements...
I'll have to look up that Redraw bit you mentioned. I'm running on WinXP SP2, hence haven't run into the issue. Actually, speaking of redraws, I wish there was a way to tell AHK/Windows to "freeze" the window display untill all the operations (stripping of window parts, moving, resizing) are done, to avoid the "repainting"/flashing effect that such a quick succession of operations produces...