PeterlFF 1 Posted March 28 Share Posted March 28 I am using Process Monitor and I see data in the Operation column that I would like to check for and have autoit code react to. I only see 2 function related to processes and they are _ProcessGetName and ProcessList. Is it possible to see the Process Name and Operation with autoit? I did some searching and saw one person trying to capture the output of Process Monitor. I couldn't get the code to work and I am unsure if that is the way I need to go or not. Can anyone point me in the right direction? Link to post Share on other sites
ad777 24 Posted March 29 Share Posted March 29 13 hours ago, PeterlFF said: I only see 2 function related to processes and they are _ProcessGetName and ProcessList. there is more then 2 see link below: https://www.autoitscript.com/autoit3/docs/functions/Process Management.htm https://www.autoitscript.com/autoit3/docs/libfunctions/WinAPIEx Process Management.htm iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to post Share on other sites
PeterlFF 1 Posted March 29 Author Share Posted March 29 Thanks. Not sure how I missed all of those. Looking through them to see if any will help me get the Operation info I see with Process Monitor. Link to post Share on other sites
PeterlFF 1 Posted March 29 Author Share Posted March 29 Went through the functions @ad777 pointed out to me and I don't see what I am looking for. I don't see what I want in Task Manager but if I look in Process Monitor I see the Operation info which is what I want (see Operation column in attached image). I don't want Process Monitor running so I won't be able to pull data from it directly but I assume it is getting this info from Windows anyway. Any suggestions on where I can find this info with AutoIT? Link to post Share on other sites
ad777 24 Posted March 29 Share Posted March 29 (edited) @PeterlFF this should help ya: https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_GetGUIThreadInfo.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_GetWindowThreadProcessId.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_EnumProcessModules.htmhttps://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_EnumProcessThreads.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_GetModuleInformation.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_EnumResourceNames.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_GetProcAddress.htm https://www.autoitscript.com/autoit3/docs/functions/FileGetVersion.htm Edited March 29 by ad777 iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to post Share on other sites
PeterlFF 1 Posted March 29 Author Share Posted March 29 Thanks @ad777. I will check this out. Link to post Share on other sites
PeterlFF 1 Posted April 5 Author Share Posted April 5 @ad777 I have been looking at the 2 apps in the link you provided (the old one and the newer one) and the links to the functions, and I can't figure out how they can get the Operation info for a running process (where it shows things like 'Thread Create' and 'Thread Exit'). I'm still pretty green when it comes to AutoIT so maybe I just can't grasp it. Can you or anyone else give me a little more direction? Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now