Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 09:24:01 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Named zones?  (Read 641 times)
thomasl
JkDefrag Junior
**
Posts: 8


View Profile
« on: August 03, 2009, 04:04:18 pm »

Hopefully, this should be straightforward.

How about changing FileSelect so that it accepts an optional string parameter, this being the human-readable name of the current zone. This name could then be shown along with the other zone information in the MD gui window while MD is going though the zones.

cheers thomasl
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: August 03, 2009, 04:17:41 pm »

Thanks for sharing your idea, I appreciate it. It's already possible, with the Message command. For example:
Code:
Message("Zone %1u of %2u","First zone")
....
Message("Zone %1u of %2u","Second zone")
Logged
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #2 on: August 03, 2009, 04:19:50 pm »

How about changing FileSelect so that it accepts an optional string parameter, this being the human-readable name of the current zone. This name could then be shown along with the other zone information in the MD gui window while MD is going though the zones.
You can put a Title command before a FileSelect that shows what zone MyDefrag is working on.

Example:
Code:
  Title("$mft")
  FileSelect # $mft
    FileName("$mft")
  FileActions
    SortByName(Ascending)
  FileEnd

jonib
Logged

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!