|
|||
|
I want to disable windows key, and ctrl,alt, del keys at application startup (since Swfkit dosn't support this for xp) .. I found the reg file that will do this.. how can I make swfKit do it for me at startup?
------ REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,09,00,00,00,00,00 ,5b,e0,00,00,5c,e0,00,00,5d,e0,00,00, 44,00,00,00,1d,00,00,00,38,00,00,00,1d,e0,00,00,38 ,e0,00,00,00,00 ----------- Thanks |
|
|||
|
Code:
var hexCode = [0x00, 0x00, 0x00000009, 0xe05b0000,
0xe05c0000, 0xe05d0000, 0x00440000, 0x001d0000,
0x00380000, 0xe01d0000, 0xe0380000, 0x00];
var regKey = RegKey.create("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Keyboard Layout");
trace(regKey);
var regValue = new RegValue;
regValue.name = "Scancode Map";
regValue.type = 3;//BINARY
regValue.data = hexCode;
regKey.write(regValue);
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|