Questions tagged [printscreen]
118 questions
0
votes
1 answer
Cannot probuce a print screen in PyQt5 app
File: untitled.py
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'untitled.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. …

Chris P
- 2,059
- 4
- 34
- 68
0
votes
0 answers
Qt Designer - Print screen of QMainWindow (preview mode) which has QScrollArea
As the title says i want to make some images in QtDesigner.
I used QMainWindow with QMenu, QToolBar, QScrollArea and QStatusBar.
I want the quality to be as best as possible.
OS: Ubuntu 22.04
Fault Print screen attached:
The problem is with the…

Chris P
- 2,059
- 4
- 34
- 68
0
votes
0 answers
Is it possible to defer copying data to clipboard at printscreen event?
I need to hide HTML element on a page when someone press the key Printscreen so that the element not to be visible for capturing and not be copied to clipboard.
If I use the way like
document.addEventListener('keyup', (e) => {
let charCode =…

stckvrw
- 1,689
- 18
- 42
0
votes
1 answer
PrintScreen Source Code/Simulation
I would like to take a picture of a fullscreen direct3D game. I know I need to create an "overlay" which is harder in c# and I found out that using printscreen (and than pasting it in mspaint) does capture the game window.
I ended up with this…

user779444
- 1,365
- 4
- 21
- 38
0
votes
0 answers
IE doesn't detect Prt Scn key's keyup event (keyCode: 44) before other keyup event fire
Here's my code
$(document).on("keyup", function(e) {
console.log(e.key);
if (e.key == "PrintScreen") {
e.preventDefault();
clearClipBoard();
}
})
function clearClipBoard() {
if (navigator.clipboard) { // Chrome or…

33nya
- 51
- 2
0
votes
0 answers
Block / Disable Windows key and PrtSc key in Excel VBA 7.1 (Tried RegisterHotKey)
I'm trying to find a way to block Windows key and PrintScreen key in my Excel file (VBA 7.1). Since Application.OnKey method can't be used, my online research points to two solutions: 1) RegisterHotKeys, 2) Keyboard Hook. I've tried RegisterHotKeys…

FionaTan
- 1
0
votes
1 answer
API call to render the output of an App (win) to a image
I need a to build a application (.NET) that given the pid of another app continually makes printscreens of that app to make a video... I'm using the API call:
new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height,…

user361526
- 3,333
- 5
- 25
- 36
0
votes
1 answer
How to get the data out of the loop before the screenshot?
I have a loop in a loop to affect a lot of variables, after which I need to display the data in text form via SendKeys.Send and take a screenshot. But when the program starts, the loop produces screenshots, but in the text version it is displayed…

Rekviem
- 1
0
votes
1 answer
Print screen key is not working in VMware ESXi
I am configuring a virtual machine on VMware EXCi 7, using the web interface for accessing to the screen of the VM.
I need to use the Print Screen key for the OS configuration, but is not working.
I´m using my laptop keyboard (IS NOT A PROBLEM WITH…

Eduardo Pascual Aseff
- 1,149
- 2
- 13
- 26
0
votes
1 answer
How to change the functionality of PrtSc (PrintScreen) key?
I wrote a little program that uses the PrtSc key as a replacement for pressing / clicking the middle mouse key.
My program uses the GetAsyncKeyState API function to scan the PrtSc.
It works fine.
The problem is that the original functionality of…

Ray Johnson
- 97
- 1
- 9
0
votes
0 answers
How do I find the array created when I press the "Print Screen" key on windows 10?
Probably when I press the print screen key on the keyboard the image on the screen creates a array and then converts it to an image. Is there any way to find this? Or a way to convert the resulting screenshot to an array ?
0
votes
0 answers
PrintScreen and BitBlt causing screen flicker
I'm trying to take a screenshot of another window specified by a valid hwnd. The procedure works, however the window flickers when the screenshot is taken.
The first function uses PrintScreen, the second BitBlt. Each is called from a routine that…

Scott Mooney
- 167
- 1
- 1
- 4
0
votes
2 answers
Printscreen keystroke script . ^{PRTSC} not doing anything
I am trying to create a batch script which puts a screenshot on the clipboard for me to save in another application.
I am using the "^{PRTSC}" and have copied code from another posting here (I would ask/comment there but the listing is closed and I…

Graham3D
- 1
0
votes
1 answer
How to grab Window using Qt on linux?
In windows this is very simple:
auto pixmap = qApp->screens().at(0)->grabWindow(QDesktopWidget().winId());
But grabWindow isn't working on linux. I try something like:
QScreen *screen = QGuiApplication::primaryScreen();
auto pixmap =…

Tomasz Nowakowski
- 19
- 6
0
votes
0 answers
How to know the mime type of the clipboard when pressing the Print-Screen key?
On Windows, if I press the Print-Screen key, the current screen is captured into the clipboard. Is there a way to check the mime type of the clipboard?

William
- 761
- 2
- 10
- 27