Templates


Templates

Use the Templates category to customize the templates that you see when you right-click the desktop or the unused space in a folder window, and then click New. Chapter 4, “Hacking the Registry,” and Appendix A, “File Associations,” describe how to build customized templates. Table 5-24 describes the values that Tweak UI uses for each of the default templates in Windows. Note that if you disable any of the templates shown in Table 5-24, Tweak UI hides the ShellNew key by renaming it to ShellNew- (adding a dash).

Table 5-24 Values in Document Templates

Setting

Name

Type

Data

HKCR

Bitmap Image

HKCR\.bmp\ShellNew\NullFile

REG_SZ

""

Briefcase

HKCR\.bfc\ShellNew\Command

REG_EXPAND_SZ

%SystemRoot%\system32\rundll32.exe%SystemRoot%\system32\syncui.dll,Briefcase_Create %2!d! %1

Compressed (zipped) folder

HKCR\.zip\CompressedFolder\ShellNew\Data

REG_BINARY

0x50 0x4B 0x05 0x06 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Rich Text Document

HKCR\.rtf\ShellNew\Data

REG_SZ

{\rtf1}

Text Document

HKCR\.txt\ShellNew\NullFile

REG_SZ

""

Wave Sound

HKCR\.wav\ShellNew\FileName

REG_SZ

sndrec.wav

WordPad Document

HKCR\.doc\WordPad.Document.1\ShellNew\NullFile

REG_SZ

""



Microsoft Windows Registry Guide
Microsoft Windows Registry Guide, Second Edition
ISBN: 0735622183
EAN: 2147483647
Year: 2003
Pages: 186

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net