Talk:AutoHotkey: Paste TC's active path anywhere: Difference between revisions
Jump to navigation
Jump to search
(Another version without the fuss with the clipboard) |
No edit summary |
||
Line 12: | Line 12: | ||
Return | Return | ||
#IfWinExist | #IfWinExist | ||
[[User:Hacker|Hacker]] 07:44, 24 Jun 2006 (EST):<br /> | |||
Nice idea. I think it could also work like this: | |||
#IfWinExist, ahk_class TTOTAL_CMD | |||
$#a:: | |||
ControlGetText, Path, TMyPanel2 | |||
StringReplace, Path, Path, >, \ | |||
Send, %Path% | |||
Return |
Revision as of 12:44, 24 June 2006
Thanks, Hacker!
SanskritFritz
Another version without the fuss with the clipboard
#IfWinExist ahk_class TTOTAL_CMD #a:: ControlGetText sPath, TMyPanel2 StringMid sPath, sPath, 1, StrLen(sPath) -1 Send %sPath%\ Return #IfWinExist
Hacker 07:44, 24 Jun 2006 (EST):
Nice idea. I think it could also work like this:
#IfWinExist, ahk_class TTOTAL_CMD $#a:: ControlGetText, Path, TMyPanel2 StringReplace, Path, Path, >, \ Send, %Path% Return