Changeset 1557
- Timestamp:
- 01/27/09 16:17:59 (4 years ago)
- Location:
- windows/neo-vars/src/source
- Files:
-
- 2 modified
-
initialize.ahk (modified) (1 diff)
-
trayfunctions.ahk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/neo-vars/src/source/initialize.ahk
r1246 r1557 35 35 36 36 SetCapsLockState Off 37 Gosub, SaveNumLockState 37 38 SetNumLockState Off 39 OnExit, exitprogram 38 40 SetScrollLockState Off 39 41 KeyboardLED(2,"off") ; deaktivieren, falls sie doch brennt -
windows/neo-vars/src/source/trayfunctions.ahk
r1223 r1557 4 4 menu, tray, tip, %name% 5 5 menu, tray, icon, %ResourceFolder%\neo_enabled.ico,,1 6 suspend , off ; Schaltet Suspend aus -> NEO 6 Gosub, SaveNumLockState 7 SetNumLockState Off 8 suspend, off ; Schaltet Suspend aus -> NEO 7 9 } else { 8 10 menu, tray, rename, %disable%, %enable% 9 11 menu, tray, tip, %name% : Deaktiviert 10 12 menu, tray, icon, %ResourceFolder%\neo_disabled.ico,,1 11 suspend , on ; Schaltet Suspend ein -> QWERTZ 13 SetNumLockState, %SavedNumLockState% 14 suspend, on ; Schaltet Suspend ein -> QWERTZ 12 15 } 13 16 return … … 59 62 60 63 exitprogram: 64 SetNumLockState, %SavedNumLockState% 61 65 exitapp 62 66 return 63 67 68 SaveNumLockState: 69 if GetKeyState("NumLock","T") 70 SavedNumLockState = On 71 else 72 SavedNumLockState = Off 73 return 74
