Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 23, 2013, 01:00:36 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How Do I Make MyDefrag Script Exit When Done or Not Exit?  (Read 1573 times)
mcjathan
JkDefrag Supporter
***
Posts: 12


View Profile
« on: October 22, 2009, 06:26:24 pm »

Greetings,

My understanding is that the Daily script causes MyDefrag to exit automatically when done, but the Weekly and Monthly scripts cause MyDefrag to NOT exit.  I've examined the scripts and I can't see any command in the scripts that control the exit or stay open behavior.

How do I control whether or not MyDefrag stays open or closes on completion?

Regards,

Jeff
Logged
peters40
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #1 on: October 22, 2009, 07:03:38 pm »

Look in the settings script

WhenFinished(wait)
Logged
Darlis
JkDefrag Hero
*****
Posts: 1707


View Profile WWW
« Reply #2 on: October 22, 2009, 07:06:23 pm »

The standard-setting ("WhenFinished(wait)") is overridden in the daily script:
Code:
/* Automatically exit when the script has finished. This script is designed to
   be run via the task scheduler, so it must exit automatically. */
WhenFinished(exit)
Logged

Need help creating a script? Try MyDefrag Script Creator.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!