| View previous topic :: View next topic |
| Author |
Message |
Paradroid
Joined: 10 Jun 2007 Posts: 1
|
Posted: Tue Sep 25, 2007 12:22 pm Post subject: Methods for resizing a window to be larger than the desktop? |
|
|
I've created a script that uses WinSet, Region to precisely crop part of a maximized window. Once I've isolated the desired part of the window, I want to then resize this area so that it fills the screen. The app in question scales the graphics in my chosen area according to the window size so this should be feasible. However, I run into troubles because the window is already maximized and won't resize greater than the desktop dimensions! Grr.
Not all is futile, though, as I found a workaround on my desktop machine: since the desktop is across two monitors I can resize my cropped window to effectively “stretch” (in the horizontal aspect) to completely fill one of the screens (since the combined width is 3200 px and I only need to resize my cropped area to 1600 px in order to fill one screen). This suits my needs but I'd really like to create a similar effect on my laptop.
I've searched the forums several times and found users with the same problem (i.e. resizing a window to be larger than the desktop) but no solutions were offered…
Any new ideas? |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1424
|
Posted: Tue Sep 25, 2007 2:57 pm Post subject: |
|
|
| Use StretchBlt to stretch the chosen part into a child window |
|
| Back to top |
|
 |
Jaime
Joined: 06 Nov 2007 Posts: 7
|
Posted: Tue Nov 06, 2007 5:56 pm Post subject: |
|
|
I have been browsing the forums, looking for help to build that exact script, as I need to magnify a certain area of a specific application. However, my coding skills are quite lacking, so my efforts have been unsuccessful. Please, that script would really help me, could you share it with me?
Thanks |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1424
|
Posted: Tue Nov 06, 2007 6:11 pm Post subject: |
|
|
| Could you be more clear as to what you want Jaime please. SO you want to duplicate a selected area and make it bigger? Tell me exactly want you want to do and i may be able to help |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
|
| Back to top |
|
 |
Jaime
Joined: 06 Nov 2007 Posts: 7
|
Posted: Wed Nov 07, 2007 9:01 am Post subject: |
|
|
Thank you for your help, tic & engunneer. I have a program that is designed for a resolution of 800x600. What I need is a way to magnify the portion of the screen the program uses, so I can see it at "full-screen" without changing the resolution. The ScreenMagnifier is impressive and I will definitely be using it for a lot of things, but not in this particular case, as it follows the mouse. It would be perfect if I could just make it a fixed window, magnifying the specified area of a specific window, with the click-through functionality the ScreenMagnifier seems to provide... Seems I have a lot of reading to do! |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1424
|
Posted: Wed Nov 07, 2007 9:36 am Post subject: |
|
|
| But how could you make it full screen? It would cover up the thing youre magnifying |
|
| Back to top |
|
 |
Jaime
Joined: 06 Nov 2007 Posts: 7
|
Posted: Wed Nov 07, 2007 3:56 pm Post subject: |
|
|
| tic wrote: | | But how could you make it full screen? It would cover up the thing youre magnifying |
That's the point. See, the main window of the program is designed for 800x600, so it covers just the upper/left corner of the screen. If I could magnify it to a 1260x1000 window, for instance, while retaining click-through capability, my life would be much better Just think of it like holding a real magnifying glass over the screen. There are some programs already capable of this feat, namely igzoom and DesktopZoom, but they lack the image quality and tweaking capability of Holomind's ScreenMagnifier. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1424
|
|
| Back to top |
|
 |
Jaime
Joined: 06 Nov 2007 Posts: 7
|
Posted: Fri Nov 16, 2007 11:15 am Post subject: |
|
|
That last one would be perfect, if I knew how to modify it to make static and not follow the mouse. That is, a permanent lens over my application. Any help? |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1424
|
Posted: Fri Nov 16, 2007 11:29 am Post subject: |
|
|
yes. just change the highlighted parts to the x and y coordinates
| Code: | | WinMove, ahk_id %hWnd%,, Xmouse-Width, Ymouse-Height, 2*Width, 2*Height |
|
|
| Back to top |
|
 |
|