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 


Hotkey for closing the process

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

Joined: 04 Oct 2012
Posts: 9

PostPosted: Tue Oct 16, 2012 12:04 am    Post subject: Hotkey for closing the process Reply with quote

Hi, Is there any way that I can insert a hotkey that when I press that the process of cheatengine-x86_64.exe will close?

Thanks Wink
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Oct 16, 2012 12:47 am    Post subject: Reply with quote

call closeCE() when the hotkey is pressed
_________________
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
x119
How do I cheat?
Reputation: 0

Joined: 04 Oct 2012
Posts: 9

PostPosted: Tue Oct 16, 2012 12:57 am    Post subject: Reply with quote

Dark Byte wrote:
call closeCE() when the hotkey is pressed


Could you make a simple example?
I need something like that...
Code:

function Close (hotkey)
call closeCE()
end

SetHotKey(Close, VK_F5)



THanks!
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Oct 16, 2012 5:37 am    Post subject: Reply with quote

Code:

function Close()
  closeCE()
end

createHotkey("Close", VK_F5)

_________________
Back to top
View user's profile Send private message MSN Messenger
x119
How do I cheat?
Reputation: 0

Joined: 04 Oct 2012
Posts: 9

PostPosted: Tue Oct 16, 2012 6:01 am    Post subject: Reply with quote

mgr.inz.Player wrote:
Code:

function Close()
  closeCE()
end

createHotkey("Close", VK_F5)


Nope is not working... Crying or Very sad

I tried also

Code:

function Close()
  closeCE()
end

createHotkey(Close, VK_F5)


But the process is still opened!
Thanks anyway!
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