| View previous topic :: View next topic |
| Author |
Message |
Sean
Joined: 12 Feb 2007 Posts: 1141
|
Posted: Sat Apr 07, 2007 1:58 pm Post subject: Screen Capture with Transparent Windows and Mouse Cursor |
|
|
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 Tue Aug 21, 2007 6:02 am; edited 1 time in total |
|
| Back to top |
|
 |
Roland
Joined: 08 Jun 2006 Posts: 238
|
Posted: Sat Apr 07, 2007 5:55 pm Post subject: |
|
|
| Awesome, thanks. The client area option is exactly what I need. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Apr 07, 2007 6:21 pm Post subject: |
|
|
*applaus*  |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 297 Location: Texas, USA
|
Posted: Sat Apr 07, 2007 6:23 pm Post subject: |
|
|
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!  |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1141
|
Posted: Sun Apr 08, 2007 6:13 am Post subject: |
|
|
Thanks, guys.  |
|
| Back to top |
|
 |
SomeGuy Guest
|
Posted: Thu Aug 16, 2007 6:44 pm Post subject: Awesome |
|
|
| This is one of the best things I have ever seen so useful you deserve a large lumpsum of money |
|
| Back to top |
|
 |
RobOtter
Joined: 30 Jan 2005 Posts: 121 Location: Darmstadt, Germany
|
Posted: Mon Aug 27, 2007 11:41 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1141
|
Posted: Tue Aug 28, 2007 2:38 am Post subject: |
|
|
| 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  |
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") |
|
|
| Back to top |
|
 |
RobOtter
Joined: 30 Jan 2005 Posts: 121 Location: Darmstadt, Germany
|
Posted: Tue Aug 28, 2007 6:39 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1141
|
Posted: Tue Aug 28, 2007 7:28 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
RobOtter
Joined: 30 Jan 2005 Posts: 121 Location: Darmstadt, Germany
|
Posted: Tue Aug 28, 2007 10:10 pm Post subject: |
|
|
Hah! Got it and it works like a charm!
Many thanks for all your efforts! |
|
| Back to top |
|
 |
Nogbadthebad Guest
|
Posted: Thu Aug 30, 2007 8:15 pm Post subject: |
|
|
How do I capture a co-ordinated portion of the active window?
Thanks for you help! |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 5957 Location: Pacific Northwest, US
|
Posted: Fri Aug 31, 2007 12:53 am Post subject: |
|
|
use WinGetPos to know where the window is, then do the math on the coordinates. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
skydreams Guest
|
Posted: Mon Nov 19, 2007 10:48 pm Post subject: Choose a Path |
|
|
Sean,
Is there a way to designate the path for the output file? I wish it to output the file on my desktop.
Thanks |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 5957 Location: Pacific Northwest, US
|
Posted: Mon Nov 19, 2007 11:07 pm Post subject: |
|
|
you can put it wherever you want. he provides the function to do so. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|