Is there a way to figure out which script an autohotkey process is associated with? Sometimes, I have to end a script that doesn't have a tray icon. With several scripts running without tray icons, I have a hard time ending the right one using Task Manager.
Differentiate between running scripts without tray icons
Started by
Guest
, Apr 08 2012 06:52 PM
3 replies to this topic
#1
Guests
Posted 08 April 2012 - 06:52 PM
#2
Guests
Posted 08 April 2012 - 07:32 PM
You can set a hotkey to list the window names and PIDs of all running ahk scripts,using the winget,outvar,list,... command and parsing the result,and show them in a msgbox.
#3
Guests
Posted 08 April 2012 - 08:49 PM
Before I try and figure out how to do this - the window name for each AHK script is its filename, right? Even if it has no window/tray icon?
#4
Guests
Posted 08 April 2012 - 11:56 PM
If anyone else cares, a simpler way is to view each Autohotkey's process properties in Process Explorer. The Command Line field shows which script file is associated with each instance of Autohotkey. A bit cumbersome, but very simple.




