mgr.inz.Player I post too much
Reputation: 221 Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Dec 20, 2016 10:42 am Post subject: "Change Hotkey Keys" [WIP] |
|
|
This extension adds "Change Hotkey Keys" window.
Status: WIP
Note:
If any bugs, please report.
For the first two persons who upload their CT trainer file here,
CT with custom form and working Lua script, I will re-post it back with needed changes, so we can treat them as "real world example".
Usage:
Code: | changeHotkeyKeys(hotkey, control OPTIONAL)
It will open "Change Hotkey Keys" window allowing you to change hotkey keys.
You can use GenericHotkey and MemoryRecordHotkey.
If control is provided it will update with current hotkeystring.
addChangeHotkeyKeysFunctionality(control,hotkey)
It will bind control and hotkey. Small button will be created on the left side of control.
If control is a CheatComponent (class "tcheat") button will be on next to description part.
Clicking this button will open "Change Hotkey Keys" window for hotkey.
hotkeysSettings(action)
Special function for all hotkeys registered with addChangeHotkeyKeysFunctionality
Depending on action you can:
hotkeysSettings('load') - load keys for each hotkey from the registry
hotkeysSettings('save') - save keys for each hotkey to the registry
hotkeysSettings('path\\to\\the\\settings') - you can define hotkeys settings path |
Example:
Code: | function CloseClick()
hotkeysSettings('save')
closeCE()
return caFree
end
addChangeHotkeyKeysFunctionality(CETrainer.CHEAT0, memrec0_hotkey0)
addChangeHotkeyKeysFunctionality(CETrainer.CHEAT1, memrec1_hotkey0)
addChangeHotkeyKeysFunctionality(CETrainer.CHEAT2, memrec2_hotkey0)
addChangeHotkeyKeysFunctionality(CETrainer.CHEAT3, memrec3_hotkey0)
hotkeysSettings('mgr.inz.Player\\POP:SOT')
hotkeysSettings('load') |
 _________________ Dark Souls II Item Swap and Item List
My Borderlands2 tables
Recent CheatEngine builds
|
|