David 2012-05-18 04:36
Windows Media Player has an option,
Allow Screen Saver during playback
I would like to do something similar but a little more generic.
I'd like to deny the screen saver if one or more of certain specified .exe files are currently running.
For example, in the morning, while I am stock trading, I don't want the screen saver to activate at all -- my idea is if a certain program is running (such as my charting software program winros.exe) then the screen saver sees that and quietly does nothing. I'd like to specify multple .exe files that can override the screen saver activation if the .exe is running.
Later during the day and at night, my PC is more general purpose (and winros.exe is not running) so I'd like the 15 min timer for the screen saver to be used, per normal.
Does this feature request make sense? Is this more of an add-on?
I'm not sure where to begin or even how to achieve this idea.
Thanks for any help you may provide.
|
Christian Studer 2012-05-18 07:46
It's not something I would want to add in UltraMon, but if it can be done easily it would be a good add-on, I'll look into it.
Christian Studer - www.realtimesoft.com
|
David 2012-05-22 11:11
Great! I keep a lookout for any follow-up.
|
Christian Studer 2012-05-23 04:08
I have uploaded an add-on which does this, DisableScreensaverPerApp.
Christian Studer - www.realtimesoft.com
|
Zom 2012-05-24 02:51
Not possible for XP or Vista?
|
David 2012-05-24 04:00
Thanks!
I will download and report back in the next few days.
|
Christian Studer 2012-05-24 08:42
Zom, I looked into this, but found no way to disable both the screen saver and powersaving (monitor standby) for Vista and earlier. On Windows 7 both can be disabled easily.
Christian Studer - www.realtimesoft.com
|
Christian Studer 2012-05-24 08:57
Just thought of something else I could try, will let you know if it works out.
Christian Studer - www.realtimesoft.com
|
David 2012-05-25 13:39
After some simple testing using calc.exe and a 1 minute timeout for the screen saver, it seems to work quite well.
Thanks!
I've added 4 programs to the .ini file and put a shortcut to the .exe in my Startup folder, per your suggestion on the Apps page. If I find any issues, I will let you know.
Btw, I'm using Windows 7 Ultimate and Ultramon 3.1.0, both 64-bit.
Again, thank you for putting together this special purpose app. It was most unexpected but very refreshing to have such a quick response!
Have a beer on me! If you're ever near San Jose, California, I'll buy you one (or many) myself!
|
Christian Studer 2012-05-25 22:22
You're welcome, glad to hear it's working fine.
Christian Studer - www.realtimesoft.com
|
Zom 2012-05-26 10:17
Thanks Christian. It must be possible. Other apps have options to prevent screenaver when running, so there must be a call somewhere, or otherwise they are faking use activity somehow.
|
Christian Studer 2012-06-10 08:10
I have uploaded version 1.1.0 of DisableScreensaverPerApp, this has support for Windows XP and Vista.
Christian Studer - www.realtimesoft.com
|
Zom 2012-06-10 12:11
Nice work Christian. I will give it a try.
|
Zom 2012-06-13 19:59
Christian, Ran for a few days and then crashed.
See also: image 1 image 2
|
David 2012-06-14 07:25
Yeah, I noticed yesterday my screen saver activated when it shouldn't have.
I, too, have found crashes in my event log.
Here is the event log General tab:
--begin-- Faulting application name: DisableScreensaverPerApp.exe, version: 1.0.0.0, time stamp: 0x4fbd1393 Faulting module name: DisableScreensaverPerApp.exe, version: 1.0.0.0, time stamp: 0x4fbd1393 Exception code: 0xc0000005 Fault offset: 0x0000225e Faulting process id: 0xc94 Faulting application start time: 0x01cd4a30043dba71 Faulting application path: C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe Faulting module path: C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe Report Id: 1ac29799-b624-11e1-942b-f46d04e3a07f --end--
Here is the event log Details tab XML:
--begin--
Log Name: Application
Source: Application Error
Date: 6/14/2012 6:23:19 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Tradezilla
Description:
Faulting application name: DisableScreensaverPerApp.exe, version: 1.0.0.0, time stamp: 0x4fbd1393
Faulting module name: DisableScreensaverPerApp.exe, version: 1.0.0.0, time stamp: 0x4fbd1393
Exception code: 0xc0000005
Fault offset: 0x0000225e
Faulting process id: 0xc94
Faulting application start time: 0x01cd4a30043dba71
Faulting application path: C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe
Faulting module path: C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe
Report Id: 1ac29799-b624-11e1-942b-f46d04e3a07f
Event Xml:
1000
2
100
0x80000000000000
7095
Application
Tradezilla
DisableScreensaverPerApp.exe
1.0.0.0
4fbd1393
DisableScreensaverPerApp.exe
1.0.0.0
4fbd1393
c0000005
0000225e
c94
01cd4a30043dba71
C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe
C:\Utilities\Ultramon\Apps\DisableScreensaverPerApp.exe
1ac29799-b624-11e1-942b-f46d04e3a07f
--end--
|
Christian Studer 2012-06-14 10:15
Zom, please check if you have a file user.dmp in folder C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson, this would be the crash dump file for the most recent application crash.
If you have the file, contact me by e-mail at support@realtimesoft.com and I'll send you a link to upload it to our server.
I don't think Windows 7 saves a crash dump automatically.
Christian Studer - www.realtimesoft.com
|
Christian Studer 2012-06-15 09:46
Thanks for the crash dump, happened if DisableScreensaverPerApp couldn't get the name of one of the running processes. I have uploaded version 1.1.1 of the application which fixes this issue.
Christian Studer - www.realtimesoft.com
|
Zom 2012-06-15 16:12
Thanks Cristian. Now running 1.1.1. Will let you know if I get any more unexpecteds.
|