SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2007, 12:24 PM
pknowles's Avatar
pknowles pknowles is offline
Sage User
 
Join Date: Mar 2007
Location: Huntingtown, MD
Posts: 65
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.
Reply With Quote
  #2  
Old 11-16-2007, 03:37 PM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
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").
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.