Show All Projects
Tracks and logs which window has focus. I strugled with getting this to work several different ways until I found the Managed Windows API project. It does all the heavy lifting and so this utility actually required barely any code.

Timeline

Files

Screenshots

  BENCHMARKS  
Loading Time: Base Classes  0.0017
Controller Execution Time ( Project / Id )  0.0153
Total Execution Time  0.0171
  GET DATA  
No GET data exists
  MEMORY USAGE  
904,184 bytes
  POST DATA  
No POST data exists
  URI STRING  
project/id/84/Window_Focus_Tracker
  CLASS/METHOD  
project/id
  DATABASE:  smkprojects (Project:$db)   QUERIES: 5 (0.0080 seconds)  (Hide)
0.0005   SELECT *
FROM `ProjectResources`
WHERE `ProjectID` = '84' 
0.0052   SELECT *
FROM `Projects`
WHERE `ProjectID` = '84' 
0.0005   SELECT *
FROM `ProjectTags`
WHERE `ProjectID` = '84' 
0.0009   SELECT TagCOUNT(1) AS cnt
FROM 
`ProjectTags`
WHERE `Tag` != 'Private'
GROUP BY `Tag`
HAVING COUNT(1) >
0.0009   SELECT TagCOUNT(1) AS cnt
FROM 
`ProjectTags`
WHERE `Tag` != 'Private'
GROUP BY `Tag`
HAVING COUNT(1) > 
  HTTP HEADERS  (Show)
  CONFIG VARIABLES  (Show)