|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Batch file to shutdown Sage (not sleep)
I want to create a batch file to shutdown Sage before I defrag the drive once a week. I have read this thread:
http://forums.sagetv.com/forums/showthread.php?t=21148 but I'm still missing a few pieces. Do I put [SendMessage -c SunAwtFrame -n "SageTV" -m 16 0 0] in a file called ShutdownSage.bat and have windows task scheduler run it a minute before I start defragging? I don't see any of the window class or user ID stuff talked about in Appendix J in the code. Need a little help to tie this all together. Thanks. BTW, I'm thinking about using windows task scheduler to execute a shutdown Sage batch, then start the defrag, and then give it 2 hours or so and then execute a batch to have windows restart. |
#2
|
||||
|
||||
Just did this myself:
check out http://www.tech-recipes.com/rx/1147/...wn_change_icon to create the file Then, I just used the Dynamic Customizable Menu plugin to add a menu choice (I put mine in "setup"). |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
another way (non dvd profiler) to view offline media? | zeltak | SageTV Customizations | 4 | 08-20-2006 02:12 PM |
Sage Hangs on Stop Request (DEBUG file included) | geogecko | SageTV Software | 2 | 07-10-2006 07:09 AM |
Running a batch file after recording | klunde | SageTV Software | 15 | 03-30-2006 05:36 AM |
HDTV Network Encoder v0.9.0 07-08-05 - HD Support for Sage! | Stealth1971 | Hardware Support | 292 | 02-23-2006 11:40 AM |
How To: In-place recompression of Sage Recordings | nielm | SageTV Customizations | 39 | 02-18-2006 11:32 PM |