Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM Memory
#8
memory of current tab process
Macro Macro366
Code:
Copy      Help
int w=win("- Internet Explorer" "IEFrame")
int c=child("" "Internet Explorer_Server" w)

int pid; GetWindowThreadProcessId(c &pid)
out GetProcessMemoryUsage(pid)/1024.0

sum of memory of main window and all tab processes
Macro Macro366
Code:
Copy      Help
ARRAY(int) a
if(!ProcessNameToId("iexplore.exe" a)) ret
long mem
int i
for i 0 a.len
,mem+GetProcessMemoryUsage(a[i])
out mem/1024.0


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)