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 


Little question about current working process

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

Joined: 25 Aug 2014
Posts: 4

PostPosted: Mon Aug 25, 2014 10:24 am    Post subject: Little question about current working process Reply with quote

Is there any way to make a shortcut for cheat engine to open the current working window (active process) in it without any actions from me

by the way i tried the automatically attach function in the program but it didn't work well with me

I'm looking for any other way

thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Mon Aug 25, 2014 10:57 am    Post subject: Reply with quote

getForegroundProcess() returns the processid that is currently on top
Combine this with openProcess inside a custom hotkey

_________________
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
Gi@nnis
Cheater
Reputation: 1

Joined: 26 Oct 2013
Posts: 32
Location: Greece

PostPosted: Mon Aug 25, 2014 8:26 pm    Post subject: Reply with quote

Nice idea, Oragon!

In case you're unfamiliar with LUA, and because I just did it for myself (testing), here is how you could accomplish what Darkbyte just said:

Code:
hotkey_openCurrentProcess = CreateHotkey(
  function()
    openProcess(getForegroundProcess())
    beep()
  end,
  VK_RMENU,VK_O)


Each time you process RIGHT ALT + O Cheat Engine will opens the current process. It will inform you that the job is done with a beep. Also, the global variable hotkey_openCurrentProcess will hold the hotkey, in case you want to destoy it or whatever.
Back to top
View user's profile Send private message
oragon
How do I cheat?
Reputation: 0

Joined: 25 Aug 2014
Posts: 4

PostPosted: Tue Aug 26, 2014 5:03 am    Post subject: Reply with quote

Thanks a lot I'll try this now
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