home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
c't freeware shareware 1999 February
/
CT_SW9902.ISO
/
pc
/
software
/
pda
/
anwend
/
inscribe.exe
/
INSCRIBE.load
< prev
next >
Wrap
Text File
|
1998-04-23
|
2KB
|
48 lines
// The following regKeyCreate commands create the following registry keys:
// - HKEY_CLASSES_ROOT\.clo
// - HKEY_CLASSES_ROOT\clofile\DefaultIcon
// - HKEY_CLASSES_ROOT\clofile\ShellOpenCommand
// These keys are used to associate .clo files with the InScribe application and gives
// them a document icon.
regKeyCreate HKEY_CLASSES_ROOT .clo 1
regKeyCreate HKEY_CLASSES_ROOT clofile 1
regKeyCreate HKEY_CLASSES_ROOT clofile\DefaultIcon 1
// regKeyCreate HKEY_CLASSES_ROOT clofile\Shell\Open\Command 1
// The following regString commands create the data in the above keys that are
// required to complete the associations.
regString HKEY_CLASSES_ROOT .clo 1 Default "clofile"
regString HKEY_CLASSES_ROOT clofile 1 Default "Character Layout Document"
regString HKEY_CLASSES_ROOT clofile\DefaultIcon 1 Default "%P\InScribe.exe,-2001"
// regString HKEY_CLASSES_ROOT clofile\Shell\Open\Command 1 Default "\"%P\InScribe.exe\" %1"
// adds a version #
regString ~ ~ 1 VersionNumber "1.2T"
regInt ~ ~ 0 XYZZY 1
// copy the files
copy . . InScribe.exe
copy . \Windows "InScribe Help.htc"
copy . \Windows is_chars.htp
copy . \Windows is_howto.htp
copy . \Windows is_imp.htp
copy . \Windows is_opts.htp
copy . \Windows is_tips.htp
copy . \Windows is_purchase.htp
copy . . "Alphabetic (7x7).clo"
copy . . "Alphabetic (8x6).clo"
copy . . "Optimized 1 (8x6).clo"
copy . . "Optimized 2 (8x6).clo"
copy . . "Optimized 1 Variation (8x6).clo"
copy . . "Two Spaces (7x7).clo"
copy . . "Vowels Across 1 (8x6).clo"
copy . . "Vowels Across 2 (8x6).clo"
// create a shell link
createShortcut \Windows\Desktop InScribe.lnk . InScribe.exe
createShortcut \Windows\Programs InScribe.lnk . InScribe.exe
exit