116 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
0
answers
459
views
Visual Studio 2022 blocking my PrintScreen key
I use Windows 10 and in the keyboard shortcut settings, I changed the standard screenshot call Win+Shift+S to just the PrintScreen key on my keyboard. It works well, but I noticed that when I press ...
0
votes
1
answer
205
views
PermissionDenied saving files via a pyinstaller executable, works in VS Code
import os
import time
from PIL import ImageGrab
IMAGES_DIR = 'Estudos3\images'
FILENAME_FORMAT = 'screenshot_{}.png'
def take_screenshot():
filename = FILENAME_FORMAT.format(int(time.time()))
...
0
votes
0
answers
60
views
Need help in this code Disable printscreen in Angular 14
My exact requirement is I want to disable the printscreen option for the user.
I found one of the solution to disabling the printscreen.But some methods are
deprecated and looking for the working ...
0
votes
1
answer
84
views
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 ...
0
votes
0
answers
68
views
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 ...
2
votes
0
answers
117
views
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
...
0
votes
0
answers
32
views
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....
0
votes
0
answers
136
views
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();
}
})
...
0
votes
0
answers
324
views
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) ...
0
votes
1
answer
98
views
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 ...
0
votes
1
answer
253
views
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 ...
0
votes
1
answer
818
views
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 ...
-1
votes
1
answer
331
views
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('%%{...
0
votes
0
answers
33
views
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 ...
0
votes
0
answers
351
views
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 ...