Questions tagged [printscreen]

118 questions
1
vote
1 answer

How to print screen Visual Studio IDE including tooltip/intellisense?

Here is a printscreen of a tooltip/intellisense that is there before and after I hit the printscreen key. Here is a an image from my camera. Have also tried delayed printscreen with count down using 3rd party software. How can i Printscreen…
Valamas
  • 24,169
  • 25
  • 107
  • 177
1
vote
1 answer

C# MVC Send an email attachment of a print screen image

This is for printing screen, using System.Drawing; using System.Drawing.Imaging; Bitmap printscreen = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); Graphics graphics = Graphics.FromImage(printscreen as…
1
vote
0 answers

How to get a screenshot in the windows clipboard using R?

I would like to get a screenshot in the clipboard as it could be obtained pressing the Prt Scr key on my keyboard. I tried things like cat("\U2399") or using the KeyboardSimulator package keybd.press('/44') but it doesn't work ! Does someone have…
Seb
  • 21
  • 2
1
vote
1 answer

Using the "print screen" key on the keyboard as a viable key press in ncurses

I am using C to write up a program that uses every key on the keyboard for int. In C, I am using ncurses.h and am using cbreak(). cbreak() doesn't work with it. I then used raw() which is apparently is supposed to stop all keyboard input. I am…
Ryan Keough
  • 121
  • 1
  • 8
1
vote
1 answer

content width not working in print screen

I am trying to print the receipt page below. It looks like as below in the browser. The content in the middle(with white background) has fixed width and is centered. I am using angular 7 and bootstrap 4 When i try to print it from my code using…
Ben
  • 137
  • 3
  • 12
1
vote
0 answers

How can I open DevTools and take printscreen in Chrome using Ruby?

I use Ruby-Capybara-Cucumber for automated testing, I wonder if it's possible to open DevTools and take printscreen from the console? Thanks.
1
vote
0 answers

Does javascript/browsers prevent the detection of a printscreen? (Mac and Windows)

First, I'm working on Mac but it was also tested on a Windows PC. I wrote a small keylogger in Javascript that is listening to keydown and keyup events and manages an array of the currently pressed keys. It works with every combination of keys,…
Kprmn5555
  • 23
  • 4
1
vote
3 answers

Preventing Screenshots (Print Screen) In Full screen Application

I have a need to prevent screenshots made by Print Screen button. And by third party software. I decided to use fullscreen so they can't use their third party software to make a screenshot. But I still have no clue how to prevent screenshot. PS.…
1
vote
0 answers

How can taking Print Screen with VBA?

(I) I need prepare print screen, with VBA. Are there any function for do that? I tried record macro in MS-Word and MS-Excel, but nothing recorded when pressing Print Screen key. Only .Paste method was recorded. (II) How can Print Screen minimized…
mgae2m
  • 1,134
  • 1
  • 14
  • 41
1
vote
2 answers

Java print screen program

I am trying to use Robot in Java to make an image file of a print screen. So far I have: Robot robot = new Robot(); Rectangle screenRect = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()); BufferedImage capture = new…
Harry Martland
  • 604
  • 2
  • 14
  • 26
1
vote
0 answers

Screenhot of program but not entire Screen

I'm quite new to the world of programing and have an issue with trying to do a print screen of my program (saving to my desktop as a png) the closest I've gotten to it is to manage to save a screenshot of my entire screen. The coding I've used is…
1
vote
1 answer

Can I listen for the PRINT SCREEN event?

Most examples on here are people creating a screen shot manually in C#. My goal is to listen for the PRINTSCREEN keyboard event, and after the event is called I take the clipboard data and do something with it. I need to make sure I only access the…
Ben
  • 2,122
  • 2
  • 28
  • 48
1
vote
2 answers

prevent "print screen" button in vb.net

I made a simple windows form application using vb.net, the first element of my project "Form1.vb"contains common code such : Public Class Form1 Public Sub Form1_Load ..... End Class I needed to disable "Print Screen" button in my application…
ali_m
  • 109
  • 1
  • 12
1
vote
1 answer

Printscreen from SAP GUI by VBA

I want to make print screen by VBA, but unfortunately I got only screens from VBA. How to do it in a proper way? Please find my script below: Sub mb() Set SapGuiAuto = GetObject("SAPGUI") 'Get the SAP GUI Scripting object Set SAPApp =…
martin
  • 11
  • 1
  • 2
1
vote
1 answer

How do I go about saving a portion of the graphical context without disturbing the user?

My situation is like this, I want to programmatically take a print screen of the current view visible to the user and save this to the photo album. The problem is that I don't want all of the views in the hierarchy to be visible. My plan was to: …
ABeanSits
  • 1,725
  • 1
  • 17
  • 34