 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
green_seacow
Joined: 04 Mar 2004 Posts: 7
|
Posted: Mon Mar 29, 2004 2:03 pm Post subject: Find window from processname |
|
|
Hi,
In my application I open sndvol32 with a hotkey, when I'm finished I want to close it. Problem is the title of the window varies depending on the locale of Windows XP (Swedish and English for example). If it's possible I think it might be useful to be able to find a window by some other means than the title. Or perhaps a command to close/kill a process. Perhaps not a high priority feature but it might be nice to have
Regards,
Peter A |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Mar 29, 2004 2:20 pm Post subject: |
|
|
One thing that might help is the abilty to close the active window. To do this, use "WinClose, A". You can also close the "last found" window by using just "WinClose" with no parameters. You can make the active window become the "last found" window via "WinWait, A".
Another alternative is to close the window via "Send, !{F4}".
If these things don't help, post again here and we'll try to come up with another solution.
I do plan to add Process management commands eventually, but it's not at the top of the to-do list. In any case, I'm adding to the list your specific suggestion about identifying a window by its process name. |
|
| Back to top |
|
 |
Beastmaster Guest
|
Posted: Thu Apr 01, 2004 12:10 am Post subject: |
|
|
With PSKill by Sysinternals, you should be able to solve that issue.
Run, pskill sndvol32,, Hide |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|