I post too much
Joined: 07 Nov 2008
Location: W kraju nad Wisla. UTC+01:00
|Posted: Mon Nov 10, 2014 3:55 pm Post subject: Differentiate between two or more CE instances
|You launched CE to just speedhack some game. And another CE, with loaded cheat table and enabled cheats.
It looks like this:
And alt-tabing looks like this:
Form.Caption is the same.
Here is the code. It will set unique, more or less, application title:
processList = createStringlist()
for i=0,processList.Count-1 do
if (processList[i]:match('cheatengine%-i386.exe')) or
if processList and processList.destroy then processList.destroy() end
if count>1 then
getMainForm().Caption = getMainForm().Caption..' ('..os.date('%X')..' '..os.clock()..')'
getApplication().Title = getMainForm().Caption
Not it will look something like this:
When you launched second CE after bigger pause, first CE won't have changed title.
I just remember "launch time" and/or "execution time" (how long do you have to wait for GUI).