Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 20, 2013, 06:29:15 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: SetPallete parameter for Highlighted files?  (Read 1503 times)
grahamcopley
JkDefrag Senior
****
Posts: 47


View Profile
« on: March 13, 2009, 11:31:32 am »

In the help manual, I can see the SetPallette parameters for empty, allocated, unfragmented, fragmented, unmovable, busyread and busywrite files - but not for 'highlighted' files (i.e. those files which belong to the zone currently being processed).

I would like to change the colour of 'highlighted' files to make them more easily identifiable.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: March 14, 2009, 07:30:47 am »

You can do it with the following snippet:
Code:
VolumeSelect
  ...
VolumeActions

  /* Analyze the disk and colorize everything in the default colors. */
  FileSelect
    not(all)
  FileActions
    Defragment()  /* Dummy action. Nothing was selected so nothing is defragmented. */
  FileEnd

  /* Change the palette into anything you want. */
  SetPalette(
    unfragmented=0,255,255
    fragmented=0,255,255
    .....
    )

  ....

VolumeEnd
Logged
grahamcopley
JkDefrag Senior
****
Posts: 47


View Profile
« Reply #2 on: March 14, 2009, 08:29:01 pm »

Thanks for the info, but I don't think this is what I meant.

Currently, when a zone is being processed, three shades of blue are used, i.e. :-
allocated         =    45,  72, 128  (dark blue)
unfragmented   =  139, 158, 198  (light blue)
"HIGHLIGHTED"  =   R?,   G?,  B?  (very light blue)

I want to change the colour of the files which are "HIGHLIGHTED", i.e. the files that will make up the zone which is currently being processed. There isn't a documented keyword for these files.

It looks as if their colour is automatically set to a lighter shade of whatever the unfragmented colour is (e.g. "HIGHLIGHTED" = 139+x, 158+x, 198+x).
« Last Edit: March 16, 2009, 03:26:46 pm by grahamcopley » Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: March 16, 2009, 10:44:17 pm »

Thanks for the info, but I don't think this is what I meant.
It's not exactly what you meant, no. The highlight colors are calculated automatically from the palette colors and at the moment there is no setting to specifically set the highlight colors. But you can simulate such a setting with the snippet that I gave before.

p.s. There is not a single highlight color, all the colors in the palette can be highlighted.
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!