TheyCallMeTim13 Wiki Contributor Reputation: 50 Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed May 15, 2019 10:40 pm Post subject: |
|
|
You can open the Lua Engine from the main form with "Ctrl+Alt+Shift+L".
Or you can add this to the auto run folder. It will put the menu item in the "Table" menu and assign the shortcut "Ctrl+L".
Code: |
local t = translate
local format = string.format
local TableMenuItemName = 'miTable'
local function showLuaEngine()
local frmLuaEngine = getLuaEngine()
frmLuaEngine.show()
return frmLuaEngine
end
local function addLuaEngineShortCut()
if MainForm.Menu == nil then return end
local menuItems = MainForm.Menu.Items
local miTable = nil
for i = 0, menuItems.Count - 1 do
if menuItems[i].Name == TableMenuItemName then
miTable = menuItems[i]
end
end
if miTable ~= nil then
local mi = createMenuItem(miTable)
mi.Caption = t('Open Lua Engine')
mi.Shortcut = 'Ctrl+L'
mi.onClick = showLuaEngine
miTable.insert(1, mi)
end
end
addLuaEngineShortCut()
|
_________________ wiki.CheatEngine.org - Tutorials
OpenCheatTables.org
|
|