just notice than now mydrefrag doesn't close itself automatically, which means the "whenfinished" options in the tray tools are now obsolete!!
Thanks for bringing this to my attention.
If you add a WhenFinished(Exit) in your script it should work, but then the script will always close.
Why it doesn't work anymore is that my tool looks for the text Finished.
but MyDefrag unfortunately has changed the way it displays the text and my tool can't access the text anymore
would it be possible to have it close mydefrag and for example shutdown the computer when the defrag is done???
Well the problem is for my tool to know when MyDefrag has finished defragging, I'll see if there is a way.