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 


[HELP] Two problems [1: End process ] [2: show in taskbar]

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

Joined: 27 Oct 2015
Posts: 59

PostPosted: Mon Jun 08, 2020 5:57 pm    Post subject: [HELP] Two problems [1: End process ] [2: show in taskbar] Reply with quote

So basically what is happening is that when I generate my trainer and open it, Once I close the application
the process remains hidden. Below I listed what generating options I'm using.



The second problem is that when I go from the welcome form the the cheat form that form is then
hidden from the taskbar.




this is the code for when I click the continue button to end up on UDF_WELCOME
Code:
form_show(UDF_WELCOME)
UDF_WELCOME.centerScreen();


function UDF_WELCOME_btnIGFormClick(sender)
form_show(SCRIGmain)
SCRIGmain.centerScreen();
form_hide(UDF_WELCOME)
end





Below are the property settings for the application




Below is a gif image showing when i close the application the .EXE still stays in the process manager.



OMuVE5O.gif
 Description:
 Filesize:  1.36 MB
 Viewed:  1851 Time(s)

OMuVE5O.gif


Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1251

PostPosted: Mon Jun 08, 2020 7:37 pm    Post subject: Reply with quote

Use this for a global shutdown;

Code:
closeCE()
  return caFree


Just to close "UDF_WELCOME";
Code:
--form_hide(UDF_WELCOME)
UDF_WELCOME.visible = false


or
Code:
UDF_WELCOME.Close()


or
Code:
UDF_WELCOME.Destroy()

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ZxPwds
Advanced Cheater
Reputation: 0

Joined: 27 Oct 2015
Posts: 59

PostPosted: Tue Jun 09, 2020 11:56 am    Post subject: Taskbar problem now! Reply with quote

Thank you for your reply.
Ok so that sorta worked what I did was this and now it closes fine!

Code:
function CloseClick()
  closeCE()
  return caFree
end
SCRIGmain.OnClose = CloseClick


Now I have the problem that some of my forms are not appearing in the taskbar. It's like after my main welcome form
as soon as I make any other form visable or show they will not appear in my taskbar. Any ideas??

again here is the property controls. I do not see anything related to taskbar visibility

Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Tue Jun 09, 2020 6:35 pm    Post subject: Reply with quote

Code:
UDF_WELCOME.ShowInTaskBar = 'stAlways'
UDF_WELCOME.Show()

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
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 Lua Scripting 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