晗晗晗子桑
此处为你的主题名称

; Copyright ?Microsoft Corp.

[Theme]

; Windows 7 - IDS_THEME_DISPLAYNAME_AERO

DisplayName=@%SystemRoot%\System32\themeui.dll,-2013

此处为你的主题名称,改为xx

SetLogonBackground=0

; Computer - SHIDI_SERVER

[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]

DefaultValue=%SystemRoot%\System32\imageres.dll,-109

此处为“计算机”图标,改为resources\themes\xx\icon\1.ico(resources\themes\xx为固定模式,icon\1.ico可自行命名,你的图标出处)

; UsersFiles - SHIDI_USERFILES

[CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]

DefaultValue=%SystemRoot%\System32\imageres.dll,-123

此处为“我的文档”图标,改法同上,不建议修改

; Network - SHIDI_MYNETWORK

[CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]

DefaultValue=%SystemRoot%\System32\imageres.dll,-25

此处为“网络”图标,改法同上

; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER

[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]

Full=%SystemRoot%\System32\imageres.dll,-54

此处为“垃圾桶”内有文件状态图标,改法同上

Empty=%SystemRoot%\System32\imageres.dll,-55

此处为“垃圾桶”内无文件状态图标,改法同上

[Control Panel\Cursors]

此处为鼠标设臵

AppStarting=%SystemRoot%\cursors\aero_working.ani

Arrow=%SystemRoot%\cursors\aero_arrow.cur

Crosshair=

Hand=%SystemRoot%\cursors\aero_link.cur

Help=%SystemRoot%\cursors\aero_helpsel.cur

IBeam=

No=%SystemRoot%\cursors\aero_unavail.cur

NWPen=%SystemRoot%\cursors\aero_pen.cur

SizeAll=%SystemRoot%\cursors\aero_move.cur

SizeNESW=%SystemRoot%\cursors\aero_nesw.cur

SizeNS=%SystemRoot%\cursors\aero_ns.cur

SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur

SizeWE=%SystemRoot%\cursors\aero_ew.cur

UpArrow=%SystemRoot%\cursors\aero_up.cur

Wait=%SystemRoot%\cursors\aero_busy.ani

以上为鼠标的各种状态设臵,可改为resources\themes\xx\cursors\xxxx.ani(resources\themes\xx为固定模式,cursors\xxxx.ani可自命名,注意鼠标有ani及cur两种格式)

DefaultValue=Windows Aero

DefaultValue.MUI=@main.cpl,-1020

[Control Panel\Desktop]

Wallpaper=%SystemRoot%\web\wallpaper\Windows\img0.jpg

此处为默认壁纸设臵,改为resources\themes\xx\img\1.jpg(resources\Themes\xx为固定模式,img\1.jpg自命名,背景图片出处)

TileWallpaper=0

WallpaperStyle=10

可改为0(居中),1(平铺),2(拉伸),6(适应),10(填充)

Pattern=

[VisualStyles]

Path=%SystemRoot%\Resources\Themes\Aero\Aero.msstyles

此处为你的主题风格设臵,改为xx\xx.msstyles

ColorStyle=NormalColor

Size=NormalSize

ColorizationColor=0x6B74B8FC

此处为主题主色调,6B表示颜色深浅及透明度,后6位数为颜色代码,具体到photoshop里查询,修改时可随时保存并对照查看效果

Composition=1

可增添此处,1表示调用aero,也就是玻璃,也可改为0,表示basic

Transparency=1

[boot]

SCRNSAVE.EXE=

此处为屏保设置

[MasterThemeSelector]

MTSM=DABJDKT

[Sounds]

此处为系统音设臵

; IDS_SCHEME_DEFAULT

SchemeName=@%SystemRoot%\System32\mmres.dll,-800

此处改为xx,如不设臵系统音可不更改

~~~~~(以下为新增的内容,不加亦可)~~~~~

以下为系统音设臵,为wav格式,只列出几个最常用的

[AppEvents\Schemes\Apps\.Default\ChangeTheme]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

- 7 -

此处为更改主题时的声音,前面一串不变,wav\1.wav自命名

[AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为电池缺电时的警告

[AppEvents\Schemes\Apps\.Default\SystemExit]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为退出系统

[AppEvents\Schemes\Apps\.Default\SystemHand]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为关键性错误

[AppEvents\Schemes\Apps\.Default\WindowsLogoff]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为注销系统

[AppEvents\Schemes\Apps\.Default\WindowsLogon]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为登陆系统

[AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin]

DefaultValue=%SystemRoot%\Resources\Themes\xx\wav\1.wav

此处为清空回收站

[Slideshow]

此处为壁纸变换设臵

Interval=180000

壁纸变换间隔时间,单位为毫秒,即1分钟=60000,注意此处必须与系统支持的变换时间一致,即个性化——桌面背景里的下拉菜单里支持的时间,否则会默认为30分钟

Shuffle=0

ImagesRootPath=%SystemRoot%\resources\Themes\xx\img

此处为壁纸所在文件夹,自命名

Item0Path=%SystemRoot%\resources\Themes\xx\img\1.jpg

Item1Path=%SystemRoot%\resources\Themes\xx\img\5.jpg

Item2Path=%SystemRoot%\resources\Themes\xx\img\2.jpg

Item3Path=%SystemRoot%\resources\Themes\xx\img\3.jpg

Item4Path=%SystemRoot%\resources\Themes\xx\img\4.jpg

以上均为壁纸图片,可自行修改,Item0Path为默认壁纸,往后递增就不用说了吧。

以上即为.theme文件的编写过程,很重要哦!