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 


How to disable single-line assembler hotkey in Memory Viewer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
wulfcare
Advanced Cheater
Reputation: 0

Joined: 27 Feb 2023
Posts: 64

PostPosted: Sat Aug 24, 2024 2:58 pm    Post subject: How to disable single-line assembler hotkey in Memory Viewer Reply with quote

Hi guys,

I am wondering how I could disable Single-Line assembler from popping up when I click on a keyboard hotkey and have an instruction highlighted when in memory viewer. I have tried using the LUA command below but it doesn't seem to work

getMemoryViewForm().Assemble1.Active = false

Any guidance would be greatly appreciated.[/url]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Sat Aug 24, 2024 3:19 pm    Post subject: Reply with quote

Code:

local mv=getMemoryViewForm()
local oldkeydown=mv.DisassemblerView.OnKeyDown
mv.DisassemblerView.OnKeyDown=function(sender, key)
  if (key>=VK_0) and (key<=VK_Z) then
    return nil
  else
    return oldkeydown(sender,key)
  end
end

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
wulfcare
Advanced Cheater
Reputation: 0

Joined: 27 Feb 2023
Posts: 64

PostPosted: Sat Aug 24, 2024 3:47 pm    Post subject: Reply with quote

Tysm Dark
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites