danrevella Master Cheater
Reputation: 2
Joined: 11 Jun 2008 Posts: 292
|
Posted: Sun Feb 23, 2014 10:46 am Post subject: CE disable my keyboard!!! |
|
|
Hi!!
Thanks for the help I got in this forum, I was able in obtaining a working lua script:
Code: | first_time=true;
function togglePause()
if first_time then
local mygame=getForegroundProcess();
--print(mygame);
openProcess(mygame);
pause()
first_time=nil
end
if processPaused then unpause()
else pause()
getMainForm().setFocus();
end
processPaused = not processPaused
end
if pauseHotkey~=nil then
pauseHotkey.destroy();
pauseHotkey=nil
end
pauseHotkey = createHotkey(togglePause,VK_F12) |
So now I'm able in using CE in many games where before CE was not able in popupping.
The trick is so simple: before popupping, CE get the process of the game, then pause it. So a this point I may use CE as regoular....
BTW after playing and popupping to CE a few times, the keyboard does no longer works INSIDE the game (mouse and joystick instead prosegue to regoular work).
You, expert........
May you help me in founding a solution?
Many thanks to all!!
Danrevella
|
|