Questions tagged [printscreen]

118 questions
37
votes
25 answers

Capture Window (Alt-Print Screen) of Context Menu

As everyone knows, sometimes developers have to document stuff. Or capture some stuff for filing bug reports. My question is in MS Windows. I'm trying to capture the context menu (the popup menu that appears after right-clicking an item) of several…
moogs
  • 8,122
  • 8
  • 44
  • 60
12
votes
3 answers

java print screen two monitors

I'm trying to use print screen image area to get 2 monitors, but only works for one monitor. Can you advise me how to get figure 2 monitors? Robot robot = new Robot(); Rectangle screenRect = new…
Faken143
  • 209
  • 1
  • 4
  • 10
9
votes
4 answers

PrintWindow bitmap differs from PrintScreen Key bitmap

When capturing a window manually with the Print Screen+Alt key combo, I get the following: but if I try to do it programmatically using Windows API, I get this: Why the discrepancy? How do I get the first programmatically? Here is my code: …
Jason
  • 13,563
  • 15
  • 74
  • 125
8
votes
8 answers

how to disable "PRINT SCREEN" button while running my Application in WPF?

How can I disable Print Screen functionality while my WPF application is running? The use-case is that my client wants to avoid unnecessary replication of valuable patient-centric data from the outside world and they provide the physical security to…
Kishore Kumar
  • 21,449
  • 13
  • 81
  • 113
8
votes
2 answers

c++ Program to take a screenshot

I am making a program that will click the printscreen key of the keyboard. The code I am using is the following: INPUT myInput; myInput.type = INPUT_KEYBOARD; KEYBDINPUT keyboardInput; keyboardInput.wScan = 0; keyboardInput.dwFlags =…
rsthegreat12
  • 159
  • 2
  • 2
  • 8
7
votes
3 answers

How do I programatically take a screenshot of an application in Linux?

How do I programatically take a screenshot of an application in Linux? I'm using c++. Any idea? For windows there are a lot of resources but I can't find anything for linux Any help? Thanks
Noyoudont
  • 155
  • 3
  • 7
6
votes
2 answers

How can I print screen minimized windows?

How can I print screen minimized windows? I believe it's possible, since Windows task-bar can create a preview of a window even if it is minimized.
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
5
votes
2 answers

Why is [PrtSc] button not working in Intellij-Idea or Microsoft SQL Server Management Studio?

I'm using a thrid-party screen capturing application (Screenpresso). It's configured to start screen-capturing when I press PrtSc. And indeed it works except when Intellij has Windows focus. In fact, to screen capture code I have to focus on any…
LimaNightHawk
  • 6,613
  • 3
  • 41
  • 60
5
votes
5 answers

Is it possible to "trick" PrintScreen, swap out the contents of my form with something else before capture?

I have a bit of a challenge. In an earlier version of our product, we had an error message window (last resort, unhandled exception) that showed the exception message, type, stack trace + various bits and pieces of information. This window was…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
4
votes
5 answers

Is it possible to program an application that won't show up on a print screen?

If the Print Scrn button is pushed and then you open paint and Ctrl V your image in there is there a way to make it so your program isn't there or maybe is substituted with a black box or something. I don't have a lot of windows programming…
John
  • 13,197
  • 7
  • 51
  • 101
4
votes
2 answers

Do a print screen of my java application

How can I make a print screen of my java application? saveScreen.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { ... } });
Milton90
  • 547
  • 2
  • 7
  • 15
4
votes
2 answers

Vbscript Printscreen to MSpaint

Take a screen shot of the active window. Set Wshshell=CreateObject("Word.Basic") WshShell.sendkeys"%{prtsc}" WScript.Sleep 1500 Run Mspaint and paste. set Wshshell = WScript.CreateObject("WScript.Shell") Wshshell.Run "mspaint" WScript.Sleep…
Chetan G
  • 85
  • 1
  • 2
  • 7
4
votes
1 answer

Simulate Print Screen under Windows

I know we can simulate the print screen with the following code: robot.keyPress(KeyEvent.VK_PRINTSCREEN); ..but then how to return some BufferedImage? I found on Google some method called getClipboard() but Netbeans return me some error on this…
user1638875
  • 105
  • 3
  • 10
3
votes
3 answers

jQuery onClick PrintScreen & Send Image E-Mail

I have got an iFrame on my site. On the site in it, it uses Flash to "build their own cooking range". Once built it spits out a model number of the cooking range they are looking for. I want to have a form above the iFrame that could send thier…
ToddN
  • 2,901
  • 14
  • 56
  • 96
3
votes
1 answer

How to autosave (without dialog box) an image using as3 (Flash CS5)

It looks like an easy question but I can't find the answer. I have this code: import com.adobe.images.PNGEncoder; var fr:FileReference = new FileReference(); var pngSource:BitmapData = new BitmapData (stage.width,…
Alon
  • 7,618
  • 18
  • 61
  • 99
1
2 3 4 5 6 7 8