 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ashef Guest
|
Posted: Sat Mar 15, 2008 11:02 pm Post subject: Simple "rapid-fire printscreen" |
|
|
I've been searching and searching for a rapid-fire printscreen script, but I keep finding all these complicated scripts. I want one that, when fired, will automatically save a screenshot (any file type). Simple as that.
Here's what I have. The files don't actually have anything in them though.
#Printscreen::
Send, {Printscreen}
FileAppend, %ClipboardAll%, E:\Users\%A_Username%\Pictures\Screen\%A_Now%.bmp ; I'm using Vista.
SoundBeep, 1000, 100 ; Just to let me know it saved it.
return
Also, I want this a stand-alone script. No GDI+ or anything. |
|
| Back to top |
|
 |
ashef Guest
|
Posted: Sat Mar 15, 2008 11:56 pm Post subject: |
|
|
Oh and sorry this belongs in the Help section... I clicked the button at the wrong window.  |
|
| Back to top |
|
 |
maximo3491
Joined: 10 Feb 2007 Posts: 65
|
Posted: Sun Mar 16, 2008 12:03 am Post subject: |
|
|
| There are a ton of printscreen to file scripts around. Just search the forums |
|
| Back to top |
|
 |
Lurker1457
Joined: 10 Mar 2008 Posts: 11
|
Posted: Sun Mar 16, 2008 12:15 am Post subject: |
|
|
Yes, one of the mods will eventually dumbo-drop this thread back into its native habitat in the "Ask for help" rain forests.
Incidently, the reason your files are empty is because you don't use Clipwait, 2, 1 after sending the printscreen key. It does take windows some time to move the screen data into the clipboard. Also, writing clipboard image data to a file won't produce a valid image file (AKAIK, CMIIW). You either need to use another app (like the irfanview command line executable) or a GDI function (search the forums).
oh, yeah, It's a good idea to empty the clipboard before any combination of copy/clipwait, since clipwait doesn't care whether the clipboard's data is new or old. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|