Re: [python-win32] How to get command line parameters of running processes via pywin32

2007-12-06 Thread Tim Golden
Tim Roberts wrote: > Patrick Li wrote: >> I am interested in scanning the user's process table periodically and >> getting the list of running process names as well as their command >> line parameters. >> >> For the process names, I am able to get the list of pids using >> win32process.EnumProcess

Re: [python-win32] How to get command line parameters of running processes via pywin32

2007-12-06 Thread Michel Claveau
Hi! WMI don't get command-line arguments, on windows released prior XP. Another (external) solution is commandline.exe tool. See : http://www.develop.com/us/technology/resourcedetail.aspx?id=ebf17b42-c3ee-47ee-8c53-73381e710c45 or http://www.bearcanyon.com/tools/ (Running Process Command

[python-win32] Using DDE to launch a file in an existing window

2007-12-06 Thread Matt Harriger
Hello all, I have a question about using DDE to launch a file in an existing application when double-clicked from explorer. I'm trying to use the built-in windows functionality for doing this by setting the application and topic keys in HKCR\my_file_type\shell\open\ddeexec. I also have HKCR\my_fil

Re: [python-win32] Using DDE to launch a file in an existing window

2007-12-06 Thread Tim Roberts
Matt Harriger wrote: > > I have a question about using DDE to launch a file in an existing > application when double-clicked from explorer. I'm trying to use the > built-in windows functionality for doing this by setting the > application and topic keys in HKCR\my_file_type\shell\open > \ddeexec. I

Re: [python-win32] Using DDE to launch a file in an existing window

2007-12-06 Thread Matt Harriger
Does windows provide a different/better/newer way than the ddeexec registry key to open a file in an existing window? Is the accepted way to do this now to take your arguments on the command line to a new instance of your application, then find your own open application and tell it to open the file