AutoHotkey Community

It is currently May 27th, 2012, 11:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: October 31st, 2007, 4:47 pm 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
Very impressive. Is there a way to get also all open documents? I can see how my text editor was started, but not which files are open. Is there a way?

_________________
Tekl


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 10th, 2007, 3:48 am 
Offline

Joined: May 17th, 2007, 9:06 pm
Posts: 421
Location: England
The CloseHandle DllCall in the GetModuleFileNameEx function requires a type "uint"


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2008, 12:41 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
Tekl wrote:
... how my text editor was started, but not which files are open...
? In which text editor if I may ask?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 21st, 2008, 10:26 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
? Any ideas where and how to use this tool? Some application examples would be nice.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 22nd, 2010, 1:11 am 
This is a great tool. I have been using it for a couple of years to easily attach JIT debugger to the correct pid related to specific process when there are many parallel same named processes running.

But we are now migrating to Windows 7 - and it no longer works. Seems to be failing doing ReadProcessMemory.

If there is an active response to my query - I can try to get more details on the failure.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 31st, 2012, 11:00 pm 
Offline

Joined: March 31st, 2006, 3:39 pm
Posts: 144
Location: New York
Indeed. I know this thread is rather old, but I too would be interested in seeing this code updated for Windows 7.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 1st, 2012, 4:06 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
It can be done fairly easily with AutoHotkey_L and WMI. For example,
Code:
for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process")
    processes .= process.Name "  -  " process.ExecutablePath "  -  " process.CommandLine "`n"
MsgBox % processes
Reference: http://msdn.microsoft.com/en-us/library ... p/aa394372


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: nomissenrojb, Rajat and 56 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group