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 


Hotkeys (application, not scripts!) and default Speech text

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

Joined: 30 Apr 2013
Posts: 31

PostPosted: Sat Mar 05, 2022 6:14 pm    Post subject: Hotkeys (application, not scripts!) and default Speech text Reply with quote

Hey there.

I am asking for some, probably, simple stuff.
I am kinda searching for the interface shortcuts/hotkeys to change. For example, we know that CTRL+H does open up the hotkey section for your cheat headers and whatnot, but I would like to add something like CTRL+C for the color panel to show up. Is this possible via the compiled version or do I have to download the src for it to make it on my own?

Secondly, about the "{MRDescription} Activated" part. I would like to alter the default "Activated/Deactivated" with "On/Off". Sounds kinda better imo.
Is there a way to do this without any editing of the src?


Thanks in advance!

Btw. I am using the v7.4 build.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 05, 2022 9:57 pm    Post subject: Reply with quote

You can probably add menu shortcuts using lua.

The hotkey sounds can be changed by simply changing them to whatever you want; it works as text-to-speech. Just select Speak Text from the drop-down menu and then change the text.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Mar 06, 2022 3:43 am    Post subject: Reply with quote

if you're asking because it's too much trouble to change the default text to On/Off each time you can use this script in your autorun:

Code:

function forEachAndFutureForm(classname, func)
  local i
  for i=0,getFormCount()-1 do
    local f
    f=getForm(i)
    if f.ClassName==classname then
      func(f)
    end
  end

  registerFormAddNotification(function(f)
    if classname==f.ClassName then
      f.registerFirstShowCallback(function()
        func(f)
      end)
    end
  end)
end


forEachAndFutureForm("THotKeyForm",function(f)
  f.edtActivateText.text='{MRDescription} On'
  f.edtDeactivateText.Text='{MRDescription} Off'
end)

(or use a translation file that changes just that text)


for the change color:
Code:

MainForm.miChangeColor.ShortCut=textToShortCut("CTRL+C")

good luck copying entries now Wink , but I'm sure you can adjust the shortcut to something else

_________________
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
blapanda
Cheater
Reputation: 0

Joined: 30 Apr 2013
Posts: 31

PostPosted: Sun Mar 06, 2022 3:24 pm    Post subject: Reply with quote

Dark Byte wrote:
if you're asking because it's too much trouble to change the default text to On/Off each time you can use this script in your autorun:

Code:

function forEachAndFutureForm(classname, func)
  local i
  for i=0,getFormCount()-1 do
    local f
    f=getForm(i)
    if f.ClassName==classname then
      func(f)
    end
  end

  registerFormAddNotification(function(f)
    if classname==f.ClassName then
      f.registerFirstShowCallback(function()
        func(f)
      end)
    end
  end)
end


forEachAndFutureForm("THotKeyForm",function(f)
  f.edtActivateText.text='{MRDescription} On'
  f.edtDeactivateText.Text='{MRDescription} Off'
end)

(or use a translation file that changes just that text)


for the change color:
Code:

MainForm.miChangeColor.ShortCut=textToShortCut("CTRL+C")

good luck copying entries now Wink , but I'm sure you can adjust the shortcut to something else


Thank you very much! Probably people saying this already as often as possible but, thank you for the incredible software, too!
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