Code: Select all
#SingleInstance, Force
#IfWinExist, ahk_class TTOTAL_CMD
FileDelete, B:\Temp\Path(ActiveWindow).txt
SendMessage 1074, 21, 0, , ahk_class TTOTAL_CMD ;PathActiveWindow -> B:\TEMP\
ControlGetText, varPathInTC, , ahk_id %ErrorLevel%
StringReplace, varPathInTC, varPathInTC, >, \
StringReplace, varPathInTC, varPathInTC, \\, \
FileAppend,%varPathInTC%, B:\Temp\Path(ActiveWindow).txt
Return
What type number instead of 21 for FullPathSRC