Build a comprehensive eye protection system for Windows 7

Source: Internet
Author: User
  1. Computer screen:

Windows 7 and Vista are configured as follows:

Step 1: Right-click the blank area on the desktop-> personalize> window color-> advanced appearance settings

Step 2: Window color and appearance-> click the project drop-down box, select "window", and click "color 1 (l)" (Others)

Step 3: change the color to "85", "saturation": 123 ", and" brightness ": 205. Add the color to the custom color. Click" OK "at the selected color.

XP settings are as follows:

Desktop-> right-click-> properties-> appearance-> advanced-> project selection (window), color 1 (l) Select (other) change the color to 85. Saturation: 123. Brightness: 205-> Add to custom color-> choose from custom color-> OK

If it is in the XP system, after this change, the background including the program background and system resource manager will change to light green, but in win7, it is found that the color in the resource manager has not changed,

The following shows how to change the resource manager color:

1. Download resourcehacker

2. Copy the shellstyle. dll file under the c: \ windows \ resources \ themes \ aero \ shell \ normalcolor directory to the desktop.

3. Use resourcehacker to open shellstyle. dll

4. Select uifile/1/1033 and copy all text information on the right to the text document.

5. Search for <if Id = "atom (clientviewhost)"> Replace the content that follows it with the following instructions, and replace ??, ??, ?? Replace it with 199,237,204 (the RGB color value corresponding to the eye color)

<Viewhost

Foreground = "themeable (GTC (button, 1, 4, 3803), windowtext )"

Background = "themeable (argb (255 ,??, ??, ??), Window) "------ background color, change to the color you need

Sortcolumn = "themeable (argb (255 ,??, ??, ??), Window) "------- background color, change to the color you need

Subtext = "argb (255,139,139,139 )"

Animation = "rectangle | S | fast"

/>

Note: When I open this DLL file, the exported TXT file is displayed in the following format:

Background = "themeable (GTC (itemsview, 0, 0, 3802), window )"

It doesn't matter. Use background = "themeable (argb (255 ,??, ??, ??), Window) "replace it.

<If Id = "atom (clientviewhost)">

<Viewhost

Foreground = "windowtext"

Background = "themeable (argb (255,204,232,207), window)" ---------- changed here

Sortcolumn = "themeable (argb (255,204,232,207), window)" ---------- I changed it here, but nothing else

Subtext = "argb (255,139,139,139 )"

In txt, there are a total of seven <if Id = "atom (clientviewhost)">, all of which are replaced by the above class.

6. After that, overwrite the original uifile/1/1033 content in the text, select compile script, and then save the file (the software automatically backs up the source file)

7. use the generated shellstyle. replace the shellstyle in the c: \ windows \ resources \ themes \ aero \ shell \ normalcolor directory with the DLL file. DLL file (if a permission problem is prompted During replacement, refer to the last part of this article), log out,

However, the left side and the bottom are still white. Continue to modify

In the TXT file, find <style resid = "propertreestyle"> and set ??, ??, ?? Replace with 199,237,204 (the RGB color value corresponding to the eye color). The other steps are the same as above.

<Style resid = "propertreestyle">

<Propertreemodule

Background = "themeable (argb (255 ,??, ??, ??), Window )"

Foreground = "themeable (argb (255, 86, 86, 86), windowtext )"

/>

<Commonplaceshost

Background = "themeable (argb (255 ,??, ??, ??), Window )"

Foreground = "themeable (argb (255, 86, 86, 86), windowtext )"

Padding = "rect (0rp, 0rp, 5rp, 0rp )"

/>

<Propertreehost

F ont size = "sysmetric (dsm_iconfontsize )"

F ont Weight = "sysmetric (dsm_iconfontweight )"

F ont style = "sysmetric (dsm_iconfontstyle )"

F ont face = "sysmetricstr (dsms_iconfontface )"

Animation = "rectangle | S | fast"

Background = "themeable (argb (255 ,??, ??, ??), Window )"

Foreground = "themeable (argb (255,139,139,139), windowtext )"

Padding = "rect (0rp, 0rp, 5rp, 0rp )"

/>

<If Id = "atom (propertreelinksheader)">

<Element

Foreground = "themeable (argb (255,139,139,139), windowtext )"

Background = "themeable (argb (255 ,??, ??, ??), Window )"

Padding = "rect (9rp, 9rp, 0rp, 7rp )"

Font = "GTF (textstyle, text_bodytext, 0 )"

/>

Effect

Work done, close ...... If the above steps are too cumbersome, you can download the compiled shellstyle. dll file and replace it directly ,!

It is not difficult to find that the question pasted from resourcehacker is the XML document. Therefore, if you are interested in the study, you can use altova xmlspy for careful analysis.

  1. Chrome:

Windows:

Go to the chrome installation directory c: \ Users \ User Name \ appdata \ Local \ google \ chrome \ User Data \ Default \ User stylesheetsto find the custom.css file and write the file,

Linux:

CD./. config/Google-Chrome/default/user \ stylesheets/, lscan see the custom.css file, gedit custom.css input:

HTML, body {background-color: # c7edcc! Important ;}

Where # c7edcc is the eye protection code value. If you do not need it now, you only need to add two slashes at the beginning of the code line.

Effect

  1. Adobe Acrobat

Edit-> preferences-> auxiliary tools-> replace document color-> customize background color!

  1. Word2010

Page Layout-> page color-> Custom-> color mode (select HSL)-85,123,205, (or RGB mode 199,237,204)

  1. How to modify shellstyle. dll Permissions

Find the file c: \ windows \ resources \ themes \ aero \ shell \ normalcolor \ shellstyle. dll, and modify its permissions as follows.

Right-click the file shellstyle. dll, left-click "properties", and click "security". The interface shown in 1 is displayed:

Click "advanced" on the page displayed in step 2, and click the "owner" option on the page displayed. The page shown in step 2 is displayed:

Click "edit" in the lower-left corner of the page obtained in step B. The page shown in step 3 is displayed, left-click the user name under "change owner to" and select the name of the current user (that is, the user name currently logged on to the system ), click OK ").

Now the owner has changed, and the user permission needs to be modified.

Repeat the page 1 shown in step 1. Click Edit and select the current user name from the user list under group and user name, click the select box on the right of "Full Control" under "Users Permissions", as shown in figure 4. Click OK to return.

Now that you have full control over shellstyle. dll, you can delete or replace the file. We recommend that you copy the file to another place for future use.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.