If you have SnagIt running and click on the PrintScreen key you can do just that.
SnagIt is made by Techsmith. I wonder if we could use their DLL file / if it's legal to do that. Is it possible to use DLL's from other software. Is it unethical?
Announcement
Collapse
No announcement yet.
Key Code of Printscreen?
Collapse
X
-
I get that ever night when I'm on my bed. My brain just starts poping ideas about new programs and I can hardly sleep :P.
Anyway it would be nice if there was a way to only screenshot a region. Like when I press the Print screen it will ask me to select the region I want to screenshot. That would be sweet.
Leave a comment:
-
Awesome, in the true sense of the word!
Thank you gentlemen.
When you're a kid and you get that christmas feeling?
I keep getting that over and over again.
I know one day when i'm a apt programmer and maybe on the board of Indigo Rose this honeymoon period will be a thing of the past but i'll never ever forget this sweet innocent period i'm going through, and just thank God you're all such good people. I couldn't wish for more.
Leave a comment:
-
Thanks for that reteset.
I'll post the online version of Quicks with some updates.
It uses the dll that reteset just posted, the clipboard plugin and the FTP plugin.
So basically after you type the files name and when you press Save, the picture will be uploaded to your webhost via FTP. After that the link for the image will be set into your clipboard so you only have to paste it.
To insert the FTP information just go to the Page2 and check the OnClick event of the Save button.
What you need to edit:
FTP.Connect("ftp.mydomain.com", "anonymous", "[email protected]", "", true);
and
Clipboard.CopyText("http://mydomain.com/screens/"..name..".jpeg");
Updated.
Fixed 2 small typo bugsAttached FilesLast edited by .74; 08-21-2010, 02:03 PM.
Leave a comment:
-
here is an example of PrtSc key
it even works when application minimized
it uses Worm's dll to take screenshot
windows places a bitmap to clipboard but getting that bitmap from clipboard is not possible without a dll or external tool
so using a screenshot tool may do the workAttached Files
Leave a comment:
-
No thanks .74, when I tested this way back it worked I have no real reason for this so and why would I use 2 dlls to do one job?
I was just playing about until I get my desktop reinstalled still not got around to it lol, but ya there should be no need for 2 dlls to do one job.
Leave a comment:
-
It's getting a bit confusing for me now but this is what i've got so far;
@.74, the project that you wrote on it's own worked perfectly, which seems to show that the _VK Key (44) works on some level at least. Beautifully written by the way.
When it comes to either using retesets WinApi Plugin or using Worms DLL file i can't get any of the two to work using the _VK Key (44), although Worms DLL works if i use a button.
Worms project works perfectly on its own too. Another masterpiece beautifully written. So that gives hope to retesets Plugin, BUT, maybe not. Maybe Worms DLL does the work retesets Plugin is intended to do and that DLL takes the screenshot.
Sim it's not confined to Win7 mate. I too get a black screen whilst trying to capture the desktop otherwise it captures the other windows ok.
Centauri Soldier is on XPx64. and i'd like to know which OS .74 is on and why i can't get the _VK Key (44) to work in anything except .74's project.
CS, thank you for that link it's funny but ScreenShot Grab was the first i looked at too. I'd love to know how he made that DLL.
It's all good here, a bit confused but still enjoying myself :yesLast edited by Tone; 08-20-2010, 10:25 PM.
Leave a comment:
-
@Sim
Go here: http://www.amsuser.com/
Then download ScreenshotGrab-others-Worm.apz
Inside that example is an DLL.
Copy it to your project and also copy the global functions from there.
Then add this. (It will save the full screen (With no blackness)):
WindowShothWnd(WinApi.GetDesktopWindow())
WindowShotSaveAs(_TempFolder .. "\\window.png")
WindowShot()
@ Centauri
Did you try the exe that I posted in this topic?
Leave a comment:
-
Yeah, I did that. My cursor blinks when I hit the key but nothing else happens. So weird.
Leave a comment:
-
Ya I am better now thanks, your not even using the clipboard on that code but I am just saying windows still copies the full screen shot, also anyone know why the winapi desktop just returns a black bmp? or is this just a windows 7 thing?
Leave a comment:
-
I still want to know how you're getting 44 to work. It doesn't work for me.
Leave a comment:
Leave a comment: