View previous topic :: View next topic |
Author |
Message |
oragon How do I cheat? Reputation: 0
Joined: 25 Aug 2014 Posts: 4
|
Posted: Mon Aug 25, 2014 10:24 am Post subject: Little question about current working process |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Mon Aug 25, 2014 10:57 am Post subject: |
|
|
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 |
|
|
Gi@nnis Cheater Reputation: 1
Joined: 26 Oct 2013 Posts: 32 Location: Greece
|
Posted: Mon Aug 25, 2014 8:26 pm Post subject: |
|
|
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 |
|
|
oragon How do I cheat? Reputation: 0
Joined: 25 Aug 2014 Posts: 4
|
Posted: Tue Aug 26, 2014 5:03 am Post subject: |
|
|
Thanks a lot I'll try this now
|
|
Back to top |
|
|
|