skrommel wrote:
:D You can find the full path of a process by reading the registry.
Code:
FULLPATH:
WinGet,window,Id,A
WinGet,file,ProcessName,ahk_id %window%
Loop,HKEY_CURRENT_USER,Software\Microsoft\Windows\ShellNoRoam\MUICache,0,0
{
IfInString,A_LoopRegName,%file%
{
RegRead,info
path=%A_LoopRegName%
Break
}
}
MsgBox,%path%
Return
1) I couldn't find an answer through google, so:
Does anyone know how, in the following registry entry under that MUICache key (as an example only, there are lots of others) the number at the end is related to the icon within the dll?:
@C:\WINDOWS\system32\SHELL32.dll,-32517
(Which is for the "Taskbar and Start Menu" settings icon - most other Windows-related windows are also referenced this way).
This ",-32517" seems to somehow correspond to icon number 40 within SHELL32.dll. Any ideas what the relationship is? (Browsing to the MUICache key you can see plenty of others.)
2) Did the requested "get-full-path-of-process feature" make it onto the planned features list? I couldn't spot it myself.