AutoHotkey Community

It is currently May 25th, 2012, 9:11 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: September 25th, 2007, 1:22 pm 
Offline

Joined: June 10th, 2007, 5:59 am
Posts: 1
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 25th, 2007, 3:57 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
Use StretchBlt to stretch the chosen part into a child window


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2007, 6:56 pm 
Offline

Joined: November 6th, 2007, 6:52 pm
Posts: 7
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2007, 7:11 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2007, 8:43 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
http://www.autohotkey.com/forum/viewtopic.php?t=11700

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2007, 10:01 am 
Offline

Joined: November 6th, 2007, 6:52 pm
Posts: 7
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 :shock: 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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2007, 10:36 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
But how could you make it full screen? It would cover up the thing youre magnifying


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2007, 4:56 pm 
Offline

Joined: November 6th, 2007, 6:52 pm
Posts: 7
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 :D 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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 14th, 2007, 7:36 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
basically all you want is a magnifier then?

whats the problem with holominds or this one?

http://www.autohotkey.com/forum/viewtopic.php?t=24973


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2007, 12:15 pm 
Offline

Joined: November 6th, 2007, 6:52 pm
Posts: 7
tic wrote:
basically all you want is a magnifier then?

whats the problem with holominds or this one?

http://www.autohotkey.com/forum/viewtopic.php?t=24973


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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2007, 12:29 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 1st, 2011, 2:01 am 
Offline

Joined: November 16th, 2007, 2:17 am
Posts: 231
Jaime wrote:
tic wrote:
basically all you want is a magnifier then?

whats the problem with holominds or this one?

http://www.autohotkey.com/forum/viewtopic.php?t=24973


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?


Hello, I tried clicking the above link, but it goes no-where. It sounds like I need a script like this. Can anyone post that script code for me. I will make it static because all I want to to do is zoom a particular area and have it stay there. Kind of like an on and off magnifier.Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 1st, 2011, 8:05 pm 
Offline

Joined: November 16th, 2007, 2:17 am
Posts: 231
Maybe the link got cut because it was too old. Does anyone have any idea on how to make magnifier on particular set of screen, keep it there, then use your mouse lilke you would normally? Thanks for any help.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, 2011, 10:21 pm 
Offline

Joined: November 16th, 2007, 2:17 am
Posts: 231
newpie wrote:
Maybe the link got cut because it was too old. Does anyone have any idea on how to make magnifier on particular set of screen, keep it there, then use your mouse lilke you would normally? Thanks for any help.


Any help with this, it seems no-one know where to find this link. Thanks


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: [VxE], dmg, Exabot [Bot], Klark92, MilesAhead, rbrtryn, tomL, Yahoo [Bot] and 55 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group