 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
BETLOG
Joined: 27 Nov 2006 Posts: 218 Location: Queensland, Australia
|
Posted: Tue May 08, 2007 8:48 am Post subject: how? send ctrl-c (break) to a hidden cmd |
|
|
Is it possible to send a ^c (break) to a %comspec% thats hidden...
ie: RunWait, %comspec% /c %COMMANDLINE%,,Hide,
also; i plan to initiate this ^c action with a gui button... if that makes any difference. |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Tue May 08, 2007 10:41 am Post subject: |
|
|
| Did you tried ControlSend ^c or similar? |
|
| Back to top |
|
 |
BETLOG
Joined: 27 Nov 2006 Posts: 218 Location: Queensland, Australia
|
Posted: Tue May 08, 2007 11:43 am Post subject: |
|
|
Yes, thanks... that works well.
| Code: | DetectHiddenWindows, On
IfWinExist, ahk_pid %CMDPID%, , ,
ControlSend, ,^c,ahk_pid %CMDPID%, , ,
DetectHiddenWindows, Off |
|
|
| 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
|