Jump to content











Photo
- - - - -

Script add "Beep Service"


  • Please log in to reply
No replies to this topic

#1 TintinBT

TintinBT

    Member

  • Members
  • 51 posts
  • Location:Toronto
  •  
    Canada

Posted 30 March 2009 - 08:14 PM

Hi all,

I worte a script for beep services, this service enable the computer system beep in vista pe environment, let your computer has some beep sound as you need. It's not a necessary but very useful service to some job automation scripts.


Test:
1. open a command prompt window in vista pe
2. input "echo ^g" (press ctrl ang g)
3. press enter, then you can hear the beep sound


[main]

   Title=<layer id=&#34;google-toolbar-hilite-3&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer> Service

   Type=Script

   Selected=True

   Locked=False

   Level=3

   Version=1

   Description=Turn on the <layer id=&#34;google-toolbar-hilite-4&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>beep</layer> sound service for VISTA PE

   Locked=false

   Date=03.30.2009

   Author=Tintinbt

   Download_Level=2

   

   &#91;Process&#93;

   Echo,Processing <layer id=&#34;google-toolbar-hilite-5&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer> Service Installation

   Echo, Copying Files to \windows\system32\drivers

   FileCopy,&#34;%InstallSRC%\windows\system32\drivers\<layer id=&#34;google-toolbar-hilite-6&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>beep</layer>.sys&#34;,&#34;%TargetDir%\Windows\system32\drivers&#34;

   Echo, Adding the Registry for Dos Environment

   RegHiveLoad,WB-System,%RegSystem%

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-7&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;,&#34;ErrorControl&#34;,01

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-8&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;,&#34;Group&#34;,&#34;Base&#34;

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-9&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;,&#34;Start&#34;,01

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-10&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;,&#34;Tag&#34;,02

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-11&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;,&#34;Type&#34;,01

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-12&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum&#34;,&#34;0&#34;,&#34;Root\\LEGACY_<layer id=&#34;google-toolbar-hilite-13&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>\&#92;&#48;000&#34;

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-14&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum&#34;,&#34;Count&#34;,01

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-15&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum&#34;,&#34;NextInstance&#34;,01

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-16&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-17&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#34;,&#34;NextInstance&#34;,01

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-18&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-19&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;Service&#34;,&#34;<layer id=&#34;google-toolbar-hilite-20&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-21&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-22&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;Legacy&#34;,01

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-23&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-24&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;ConfigFlags&#34;,00

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-25&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-26&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;Class&#34;,&#34;LegacyDriver&#34;

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-27&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-28&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;ClassGUID&#34;,&#34;{8ECC055D-047F-11D1-A537-0000F8753ED1}&#34;

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-29&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-30&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;DeviceDesc&#34;,&#34;<layer id=&#34;google-toolbar-hilite-31&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-32&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-33&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000&#34;,&#34;Capabilities&#34;,00

   RegWrite,HKLM,0x3,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-34&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-35&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000\Control&#34;,&#34;*NewlyCreated&#34;,00

   RegWrite,HKLM,0x1,&#34;WB-System\ControlSet001\Services\<layer id=&#34;google-toolbar-hilite-36&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>\Enum\Root\LEGACY_<layer id=&#34;google-toolbar-hilite-37&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>BEEP</layer>&#92;&#48;000\Control&#34;,&#34;ActiveService&#34;,&#34;<layer id=&#34;google-toolbar-hilite-38&#34; style=&#34;background-color&#58; Fuchsia; color&#58; black;&#34;>Beep</layer>&#34;

   RegHiveUnLoad,WB-System





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users