Questions tagged [printscreen]

118 questions
0
votes
1 answer

How to get the window size of the active/focused application using java?

I have a program written in JAVA that creates a JPG file at a specified path whenever PRINTSCREEN is pressed. This program runs in background and uses the JIntellitype API. My problem is that: screensize = new…
ritratt
  • 1,703
  • 4
  • 25
  • 45
0
votes
1 answer

Triggering the printscreen keyboard function and sending the converted image to server in jQuery

How can I trigger the PrtScn i.e, PrintScreen keyboard event through some jQuery function and then save that captured image to server? function ErrorLog(errorCode, errorMessage) { // Here i want the screenshot of the user's screen where the…
Krishn
  • 11
  • 1
  • 2
0
votes
0 answers

Server Side Webpage Screenshots - Windows Server

ive written a script that configures a bunch of items and displays it on screen using javascript. Now we are in the process of trying to take a screenshot of it via a browser. This particular webpage is for use by the general public, and once the…
user125264
  • 1,809
  • 2
  • 27
  • 54
0
votes
0 answers

JApplet keybinding printscreen

My objective is to have the printscreen key trigger my application to close (ideally before it can actually copy to clipboard, but not important) I have other keybindings working- but I cannot figure out how to trigger printscreen. In the below…
woodlumhoodlum
  • 462
  • 3
  • 10
  • 24
0
votes
1 answer

How to find out the Active window when printscreen was taken

I am creating a Bug filing client in Windows. The client activates when the user presses Windows + prnt screen . The latest captured image is pushed to the picturebox in the client [ windows form ] . Is there any way to know which window was active…
Parag Paul
  • 51
  • 7
0
votes
1 answer

Overwriting "Print Screen" actions in linux without administrative rights

Disclaimer: I am a bit of a Linux noob :( Problem: I have an interesting problem that I could use some help with. Essentially, I want to overwrite the default actions for the "Print Screen" button in Linux. My reasons for doing so are that I have…
user1028435
  • 309
  • 3
  • 10
-1
votes
1 answer

How do I stop my Printscreen screengrabs from being washed out?

I am using a PowerShell command to screengrab a window by using a bat file as follows: powershell -c "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SendKeys]::SendWait('%%{PRTSC}')" However, the resulting image is washed out as…
-1
votes
1 answer

Get all pictures and save it to file

I have a UniformGrid containing all my video thumbnails taken (they are all System.Windows.Control.Image). My goal here is to save a jpg of all the thumbnails after I click a button. Is there a way to grab a bitmap image or something from a…
Sophie
  • 324
  • 3
  • 12
-1
votes
1 answer

Need a winapi function with the ability to print screen

I want to create a small utility 'ColorPic', below is its picture. In fact, I can get RGB of the pixel where the cursor is over. But I want to create a window which "prints" part of the screen (near the cursor) into this window. The most important…
user565739
  • 1,302
  • 4
  • 23
  • 46
-1
votes
2 answers

Making a dynamic path string for saving an image

First time posting on this forum, and also very new to coding. Sorry if this is an easy question but I'm doing all sorts of things wrong. The situation I want to save a screenshot, and I want to filename to be the current date like: string path =…
Martijn Nosyncerror
  • 172
  • 1
  • 3
  • 16
-2
votes
1 answer

print screen in windows

Trying to trigger "print screen" from ubuntu that is SSH (using paramiko) to some Linux machines AND to windםws. Does anybody know how to trigger from cmd (I can copy the result from where it is copied to using the paramiko, exe_cmd infrasturcture…
Itaybz
  • 63
  • 1
  • 6
-3
votes
3 answers

Cobol Printscreen to file

Rather simple question, that is very complicated in Cobol. I need to print the screen to a file, just take whatever is on the screen and save it. Fileformat of the save is irrelevant, as long as I get the information out of Cobol. Any help with…
1 2 3 4 5 6 7
8