Talk:AutoHotkey: Paste TC's active path anywhere
Jump to navigation
Jump to search
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
Right, good idea. So it does work with the command line hidden?
SanskritFritz
Hacker 04:42, 26 Jun 2006 (EST):
Yes, it does. (It even invokes it :-) )