Questions tagged [windows-screensaver]

A screensaver is a computer program that blanks the screen or fills it with moving images or patterns when the computer is not in use.

60 questions
1
vote
1 answer

Deactivate a ScreenSaver programmatically

I have an ACEPC T6, with a 7 inch LCD screen connected via HDMI, and a USB touchscreen. This system is connected to a processor board via a USB serial link which reads various sensors and feeds the data back to the PC. The program on the PC is…
1
vote
2 answers

How to have window's batch file detect when the screensaver is on?

How to program a batch program to determine if a the screensaver is running or if the user went to sleep, or locked the computer? In bash in Ubuntu Linux I am using the code: /gnome-screensaver-command -q | grep "is active" to determine if…
jdl
  • 6,151
  • 19
  • 83
  • 132
1
vote
0 answers

24h screensaver - how to handle huge video

I'm tasked with creating a windows screensaver that display a 24h video. The original 24h HD video is 180GB As I see it there are 2 strategies Caching I could split the video into smaller parts (eg 10 min) and upload them to eg an Azure Storage Blob…
Rasmus
  • 2,783
  • 2
  • 33
  • 43
1
vote
1 answer

C# screensaver with legacy .NET 3DEngine - build configuration

I coded a C# screensaver which works in preview (install) mode, config or even test mode. However, when reaching the windows timer to launch it, screen goes black, I see the mouse loading icon for 2-3 sec and then the screen revert on the desktop. I…
1
vote
1 answer

What's the number passed when Windows opens a screensaver's settings?

I'm writing a screensaver, and checked for the parameter /c to see if the screensaver has to be started, or the settings windows should be shown. I found that the actual parameter passed is /c followed by a number, i.c. 3805726, the full argument…
Joris Groosman
  • 771
  • 8
  • 23
1
vote
4 answers

Screensaver Hides Desktop

we would like to build a screensaver that shows the desktop and the running applications but prevents user input by showing the login screen. The idea was to build a windows app with no window or a transparent window. However, as soon as the…
Igor Lankin
  • 1,416
  • 2
  • 14
  • 30
1
vote
1 answer

How can I get the process that launched my app?

Despite what you read, it turns out that a Windows Screen Saver is NOT "just" an .exe renamed to .scr. A .scr file is not "launched" directly, like an EXE. Instead, Windows looks for the executable in the .scr file, and re-launches that executable,…
1
vote
1 answer

Why won't the screen saver control panel kill my form when it dies?

Using code I found on CodeProject, I've created a screen saver. The following form is the tiny little form that I show in the Control Panel when the user chooses my screen saver. Everything seems to work fine; the form correctly resizes and draws…
Cardinal Fang
  • 283
  • 2
  • 12
1
vote
0 answers

QT emitting signal on screensaver (windows)

Is there a way in QT to detect when the system is entering screensaver (in windows)? keep in mind, that my process is a background process and isn't active all the time, so i can't use this as an Qevent... and i don't want to try and figure out if…
Gal Maman
  • 11
  • 3
1
vote
1 answer

Windows C++ screensaver not turning screen back on

I am trying to create windows screensaver that turns monitor on and off depending on face detection. Here is the esential code (c++ and winapi): #define TIMER 1010 unsigned int FREQUENCY_OF_CHECK = 5000; LRESULT WINAPI ScreenSaverProc( HWND…
luda
  • 11
  • 3
1
vote
1 answer

Detecting when in power-save mode

I'm trying to detect when the computer enters power-save mode. Problem is, this program has to run on both Windows XP and 7. RegisterPowerSettingNotification only works for Vista and newer, so that's not an option. I also tried using…
Durd
  • 65
  • 1
  • 7
1
vote
2 answers

Windows screensaver multiple instance

So, a windows screensaver is just an exe that is passed one of 3 parameters. /c for config screen /s for fullscreen /p for the little preview window. I have everything working peachy except I have multiple processing running (this is the…
VaporwareWolf
  • 10,143
  • 10
  • 54
  • 80
1
vote
0 answers

Using SPI_SETSCREENSAVESECURE doesn't enable password protection for the Windows screensaver

When I run the following line of code, my screensaver's password protection isn't enabled. I've also checked the registry key that used to control password protection and it doesn't get toggled either. If…
Zian Choy
  • 2,846
  • 6
  • 33
  • 64
0
votes
1 answer

Allow a Windows screensaver to write to a file in Program Files

I ran into a problem after creating a screensaver that requires writing to a file located in Program Files. When the screensaver becomes active it can successfully read a file from there but fails to write to a file. I noticed that when I use and…
0
votes
1 answer

.NET programs don't run at logon screen - windows 7

I'm using Windows 7 Pro (32bit) and have .NET 3.5 and 4 installed... I have written a .NET screensaver and have enabled it to run on the Windows logon screen. My problem is that it errors: .NET framework initialisation error BUT when I'm logged in…