Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 20, 2013, 08:21:47 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: add Title() in every FileActions  (Read 726 times)
kaunis
Newbie
*
Posts: 3


View Profile
« on: January 27, 2010, 09:56:01 am »

IMHO it's a good idea to add Title() in every FileActions in all existing script files.

In the title should be, what part of the optimization runs straight. e.g. for OptimizeMonthly.MyD:
 * place NTFS system files
 * add gap after NTFS system files
 * Sort directory by name
 * add gap after directory
 * Sort files used when booting
 * add gab after booting files
 * Sort regular files by name
 * add gab after regular files
 * Sort spacehog files
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #1 on: January 28, 2010, 12:55:55 am »

  Message("Zone %1u of %2u","Zone %1u of %2u: Directories")
  FileSelect
     Directory(yes)
  FileActions
...
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #2 on: January 28, 2010, 03:45:19 am »

Thanks for sharing your idea, I appreciate it. Placing messages in the scripts like you suggest would make the messages script-specific and for 1 language only. MyDefrag therefore uses general messages (the same for all scripts) which can be centrally translated into different languages, you can find them in the "Settings.MyD" file. You can change them on the fly in your script, as WHRoeder shows in his example.
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!