Hi,
I do all my file op tasks using TC. My main goal to synchronize two folders by executing special application. It must read two active tabs and do the job.
Is it possible to read current folder names (full path) at both left and right tabs (active). How to get them via plugins? Is it possible to call TCMD api from external application to obtain such information?
Thanks
Reading folder names from active tabs using external app?
Moderators: Hacker, petermad, Stefan2, white
You could also use SendMessage WM_COPYDATA from your application to get it.
See this thread for examples. Simpler than a plugin i guess.
From History.txt:
Send WM_COPYDATA with dwData='G'+256*'A' and lpData pointing to command to get back WM_COPYDATA with various info.
Supported commands A: Active side (returns L or R), or two byte command: first byte: L=left, R=right, S=source, T=target.
Second byte: P=current path, C=list count, I=caret index, N=name of file under caret. dwData of return is 'R'+256*'A' (32/64)
See this thread for examples. Simpler than a plugin i guess.
From History.txt:
Send WM_COPYDATA with dwData='G'+256*'A' and lpData pointing to command to get back WM_COPYDATA with various info.
Supported commands A: Active side (returns L or R), or two byte command: first byte: L=left, R=right, S=source, T=target.
Second byte: P=current path, C=list count, I=caret index, N=name of file under caret. dwData of return is 'R'+256*'A' (32/64)