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 


Windows Title Changer helping.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
justin999
How do I cheat?
Reputation: 0

Joined: 15 Jul 2022
Posts: 5

PostPosted: Sat Jul 16, 2022 5:57 am    Post subject: Windows Title Changer helping. Reply with quote

Anyone helping pls? I not found the download link in the offical page of Title changer.. anyone upload his files to mediafire pls, to i download? :/
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 6:15 am    Post subject: Re: Windows Title Changer helping. Reply with quote

justin999 wrote:
Anyone helping pls? I not found the download link in the offical page of Title changer.. anyone upload his files to mediafire pls, to i download? :/


What do you mean "official page of Title changer"? You can change the title of any window with Lua within Cheat Engine.
Back to top
View user's profile Send private message
justin999
How do I cheat?
Reputation: 0

Joined: 15 Jul 2022
Posts: 5

PostPosted: Sat Jul 16, 2022 7:21 am    Post subject: Re: Windows Title Changer helping. Reply with quote

LeFiXER wrote:
justin999 wrote:
Anyone helping pls? I not found the download link in the offical page of Title changer.. anyone upload his files to mediafire pls, to i download? :/


What do you mean "official page of Title changer"? You can change the title of any window with Lua within Cheat Engine.


Aand how? I never use Lua, or any scripting, i just want to change the cheat engine name, in the windows, when the app is in use.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 8:06 am    Post subject: Reply with quote

Save this to a Lua file:
Code:

getMainForm().Caption = 'My Cheat Engine Title'
getApplication().Title = 'My Cheat Engine Title'


in the autorun directory within the Cheat Engine installation folder, which will be similar to: (your version may differ)
Code:

C:\Program Files\Cheat Engine 7.4\autorun
Back to top
View user's profile Send private message
justin999
How do I cheat?
Reputation: 0

Joined: 15 Jul 2022
Posts: 5

PostPosted: Sat Jul 16, 2022 8:50 am    Post subject: Reply with quote

Sorry, i am very bad to scripting, etc.. i never do anywhat like this..

I know this is very funny, and cringe question, but how i create "Lua file" ?
or where i paste your "scripts?"


[ getMainForm().Caption = 'My Cheat Engine Title'
getApplication().Title = 'My Cheat Engine Title' ]
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 10:13 am    Post subject: Reply with quote

Create a new text document with notepad. Paste the code:
Code:

getMainForm().Caption = 'My Cheat Engine Title'
getApplication().Title = 'My Cheat Engine Title'


Click File on the menu > Save File As > When the save dialog pops up. Set the type to "All files (*.*)" and in the filename type "titlechanger.lua"

Navigate to the autorun folder within Cheat Engine installation directory and click save.
Back to top
View user's profile Send private message
justin999
How do I cheat?
Reputation: 0

Joined: 15 Jul 2022
Posts: 5

PostPosted: Sat Jul 16, 2022 12:03 pm    Post subject: Reply with quote

Thank you so much, you help a lot.
I felt like scripting a bit, or something else, i mean this is very interesting.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 2:35 pm    Post subject: Reply with quote

justin999 wrote:
Thank you so much, you help a lot.
I felt like scripting a bit, or something else, i mean this is very interesting.


You're welcome Smile. There is no such thing as a stupid question if it's sincere. Better to ask and risk appearing stupid than to continue on your ignorant way and make a stupid mistake.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Jul 16, 2022 8:02 pm    Post subject: Reply with quote

How to change the "game" window title or any apps window title?
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 9:44 pm    Post subject: Reply with quote

Corroder wrote:
How to change the "game" window title or any apps window title?


Like this:
Code:

function setWindowText(hwnd, title)
  if hwnd ~= nil and title ~= '' then
     return executeCodeLocalEx('User32.SetWindowTextA', hwnd, title)
  end
end

function changeTitle(window, title)
 if window ~= '' and title ~= '' then
   local hwnd = findWindow(nil, tostring(window))
   if hwnd ~= nil then
      setWindowText(hwnd, title)
   end
 end
end

changeTitle('Untitled - Notepad', 'My Notepad')
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Jul 16, 2022 10:39 pm    Post subject: Reply with quote

LeFiXER wrote:

Like this:


Ok that is the right way. Thanks.
And I think this is @justin999 exactly wanted.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Sat Jul 16, 2022 10:43 pm    Post subject: Re: Windows Title Changer helping. Reply with quote

It was clarified in a later post what was wanted exactly. I had wrote I recently posted before answering the response in this quote.
justin999 wrote:

Aand how? I never use Lua, or any scripting, i just want to change the cheat engine name, in the windows, when the app is in use.


Nevertheless, it is resolved. Smile
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