Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cheat Engine Forum Index
PostGo back to topic
Wiki Contributor
Reputation: 36
Joined: 24 Feb 2017
Posts: 761
Location: 'Merica

PostPosted: 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".

local t = translate
local format = string.format

local TableMenuItemName = 'miTable'

local function showLuaEngine()
   local frmLuaEngine = getLuaEngine()
   return frmLuaEngine

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]
   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)


_________________ - Tutorials - Auto Assembler Basics - Lua Basics
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
Review: Approve
Post reference:
ReviewPosted: Thu May 16, 2019 5:14 am

Thanks for help
Back to top
View user's profile Send private message
Cheat Engine Forum Index

Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites