wie ktos jak to sie je ?

You can control Automatic Keylock via an API which works via window messages. The window which accepts these messages has the class name "AutoKeylockWindow". The window messages are as follows:
* WM_USER+0x100 - enable features
With this message, you can enable certain features of Automatic Keylock.
- wParam is ignored
- lParam can contain one of the following modifiers:
0x1 - enable keypad lock
0x10001 - enable device lock
0x2 - enable screen saver
- return value: 0
* WM_USER + 0x101 - disable features
This message disables the features.
- wParam is ignored
- lParam can be a combination of the following:
0x1 - disable keypad lock
0x2 - disable screen saver
* WM_USER+ 0x102 - query feature state (Automatic Keylock >= 3.9)
With this message, you can query the current feature state.
- wParam is ignored
- lParam is ignored
- return value:
high word: 0xffee (a magic to check if the value is valid)
low word: bitmask (0x1 - keypad lock is enabled, 0x2 - screen saver is enabled)
oki to juz wiem ze MortScript-4.1 powinien sobie z tym poradzic... tylko jak by jeszcze ktos podpowiedzial jak z tego skozystac
!?
SendMessage( [<window title>,] <message id>, <wparam>, <lparam> ) (only numerical parameters supported!) !? jakos nie chce dzialas
