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 Minimize to Tray | With Lua

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
dreamfancys
Newbie cheater
Reputation: 0

Joined: 09 May 2020
Posts: 13

PostPosted: Sun May 10, 2020 8:45 am    Post subject: Cheat Engine Minimize to Tray | With Lua Reply with quote

Is there a chance to bring the minimized or hidden automatically when turning on the Cheat engine?

I wrote a lua code. Can I write something in it that will minimize it when turning on the cheat engine? I want it to be minimized to tray.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 62

Joined: 10 Apr 2015
Posts: 1548

PostPosted: Sun May 10, 2020 9:08 am    Post subject: Reply with quote

Code:
x = getMainForm()
x.WindowState = 'wsMinimized'


Save code above as 'CEminimized.lua'
And place it into CE Autorun Folder

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
dreamfancys
Newbie cheater
Reputation: 0

Joined: 09 May 2020
Posts: 13

PostPosted: Sun May 10, 2020 9:14 am    Post subject: Reply with quote

Corroder wrote:
Code:
x = getMainForm()
x.WindowState = 'wsMinimized'


Save code above as 'CEminimized.lua'
And place it into CE Autorun Folder


I love you <3
Back to top
View user's profile Send private message
Tartarus89
How do I cheat?
Reputation: 0

Joined: 04 Mar 2019
Posts: 4

PostPosted: Wed Apr 07, 2021 11:25 am    Post subject: Reply with quote

Corroder wrote:
Code:
x = getMainForm()
x.WindowState = 'wsMinimized'


Save code above as 'CEminimized.lua'
And place it into CE Autorun Folder


I was also looking for a solution and this worked well. However, it doesn't exactly minimize it to the Windows 10 system tray but instead puts it into a minimized bar just above the windows task bar. Is there any way to fully minimize CE to the tray or taskbar using lua files or should I just be happy that it at least prevents it from opening in a full window on my desktop?
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