AutoHotkey Community

It is currently May 25th, 2012, 3:01 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 181 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next
Author Message
PostPosted: April 7th, 2007, 1:58 pm 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
I know that there already exist script(s) of the kind. Then, why another one?
It'll also capture the transparent windows and/or the mouse cursor, according to the options.
Please read the comments in the script for the details.

PS. It REQUIREs GdiPlus.dll.

DOWNLOAD ScreenCapture.ahk.


Last edited by Sean on August 21st, 2007, 6:02 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 7th, 2007, 5:55 pm 
Offline

Joined: June 8th, 2006, 9:38 pm
Posts: 307
Awesome, thanks. The client area option is exactly what I need.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 7th, 2007, 6:21 pm 
:D *applaus* :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 7th, 2007, 6:23 pm 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 772
Location: Texas, USA
Pretty cool. I wish I had an immediate need for this but now I know where to find it when the time comes. Thanks for sharing! :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2007, 6:13 am 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
Thanks, guys. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Awesome
PostPosted: August 16th, 2007, 6:44 pm 
This is one of the best things I have ever seen so useful you deserve a large lumpsum of money


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 11:41 pm 
Offline

Joined: January 30th, 2005, 11:18 pm
Posts: 133
Location: Darmstadt, Germany
Hey Sean, great thing!

One question:
Is there a way to have the image in the clipboard instead of saving it to a file? This would definitely make my day :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 28th, 2007, 2:38 am 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
RobOtter wrote:
Is there a way to have the image in the clipboard instead of saving it to a file? This would definitely make my day :wink:

I updated the script with this option. After a thought, I became not so sure if I did it in absolutely right way, however, seems to work in my system XPSP2. The syntax will be: set the sFileTo to 0 like:

Code:
CaptureScreen("100, 100, 400, 400", False, 0)


BTW, if you want to save the hBitmap in the clipboard to the file additionally, you can use Convert(), specifying the first sFileFr to 0 or "", like:

Code:
Convert(0, A_Temp . "\screen.png")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 28th, 2007, 6:39 am 
Offline

Joined: January 30th, 2005, 11:18 pm
Posts: 133
Location: Darmstadt, Germany
Just woke up and found your answer... Thanks! Some jobs are done at sleep :)
Unfortunately, the link in your first post still points to the old version. Have you updated the file elsewhere?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 28th, 2007, 7:28 am 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
RobOtter wrote:
Unfortunately, the link in your first post still points to the old version. Have you updated the file elsewhere?

It's updated in the same place.
Please be sure to clear the cache of your browser before downloading it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 28th, 2007, 10:10 pm 
Offline

Joined: January 30th, 2005, 11:18 pm
Posts: 133
Location: Darmstadt, Germany
Hah! Got it and it works like a charm!
Many thanks for all your efforts!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2007, 8:15 pm 
How do I capture a co-ordinated portion of the active window?
Thanks for you help!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2007, 12:53 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8657
Location: Salem, MA
use WinGetPos to know where the window is, then do the math on the coordinates.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Choose a Path
PostPosted: November 19th, 2007, 10:48 pm 
Sean,

Is there a way to designate the path for the output file? I wish it to output the file on my desktop.

Thanks


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2007, 11:07 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8657
Location: Salem, MA
you can put it wherever you want. he provides the function to do so.

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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 181 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, JamixZol, Relayer, ZeLen1y and 33 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