| Author |
Message |
Forum: Support Topic: Getting the full path of the executable from proc ID? |
| KZ |
|
Posted: June 7th, 2007, 4:14 pm
|
|
Replies: 5 Views: 717
|
| Thanks, found it in here: http://www.autohotkey.com/forum/topic15020.html and created a wrapper around this code to return the full path of the exe string: GetFullPath(pid) ; Return X:\dir\sub\my.exe { ; Open process with: PROCESS_VM_READ (0x0010) | PROCESS_QUERY_INFORMATION ... |
|
 |
Forum: Support Topic: Getting the full path of the executable from proc ID? |
| KZ |
|
Posted: June 7th, 2007, 11:38 am
|
|
Replies: 5 Views: 717
|
| How does one get the full path of the executable from proc name or ID strings? I use both of these to get the name and ID, but can't figure out the rest: WinGet, ZTproc, ProcessName WinGet, ZTprocID, ID I'm not happy with junk.exe , I want C:\stuff\more\junk.exe . Thanks, I'm sure this is so obvious... |
|
 |
Forum: Issues Topic: Serious debug for StringSplit needed |
| KZ |
|
Posted: March 20th, 2007, 4:40 pm
|
|
Replies: 30 Views: 4611
|
| Fixed StringSplit when used inside a function so that it always creates a local array when OutputArray0 is local, even if OutputArray0 also exists as a global. Chris, does "Fixed" here mean that you have changed this function now? I posted this trying to learn AHK (my very first post!) an... |
|
 |
Forum: Issues Topic: Serious debug for StringSplit needed |
| KZ |
|
Posted: March 17th, 2007, 9:45 pm
|
|
Replies: 30 Views: 4611
|
| Consider function f(x) containing a StringSplit command. Briefly, calling f(x) from different points in the script, StringSplit gives different results . When StringSplit doesn't work, arrays are left blank. Loop, Parse command solves the problem. (WinXP SP2, AutoHotkey 1.0.46.07) Don't know if thi... |
|
 |
| Sort by: |