AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WinGet, List with taskmanager's list

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Thu Mar 10, 2005 11:56 pm    Post subject: WinGet, List with taskmanager's list Reply with quote

Hi,

is it possible (maybe with a manual loop) to get the same list as you can see in the taskmanager? I would like to check if a new process will be added. If I use WinGet, List with DetectHiddenwindows I'll get more than one new process if a new programm will be startet. I'm also looking for a way to check if a process has finished loading? Not all Applikations will show a GUI after loading. Maybe it could be possible to get infos from the process, the it will be a always hidden process or a normal application with gui. Any ideas?

Tekl
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Fri Mar 11, 2005 12:29 am    Post subject: Re: WinGet, List with taskmanager's list Reply with quote

Tekl wrote:
is it possible (maybe with a manual loop) to get the same list as you can see in the taskmanager?
Not currently, but it is planned. You could use an external utility in the meantime.

Quote:
...a way to check if a process has finished loading? Not all Applikations will show a GUI after loading. Maybe it could be possible to get infos from the process, the it will be a always hidden process or a normal application with gui.
That is pretty far outside my knowledge, but I'm pretty sure there is no way to know for certain whether a process will create a window in the future. It might be possible to scan an EXE file for any usages of CreateWindow() or CreateWindowEx(), but I don't know if even that would be enough.
Back to top
View user's profile Send private message Send e-mail
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Fri Mar 11, 2005 12:41 am    Post subject: Reply with quote

Hi Chris,

Quote:
Not currently, but it is planned.

That would be nice. Maybe the detection works with ifWinExist and a timeout. I'll try it then. I don't like using external tools Wink

Tekl
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sat Apr 23, 2005 2:26 pm    Post subject: Reply with quote

What external utility?
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Sat Apr 23, 2005 11:51 pm    Post subject: Reply with quote

Here's one called pslist from SysInternals. I know there are quite a few others.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group