Sync dirs enhancement
Moderators: Hacker, petermad, Stefan2, white
Re: Sync dirs enhancement
2wanderer
You didn't answer the first question.
And with regard to the above button, a comment would also not hurt.
You didn't answer the first question.
And with regard to the above button, a comment would also not hurt.
Overquoting is evil! 👎
Re: Sync dirs enhancement
I thought it was clear. I added a button from TC's UI, copied your command in TC's field and then i tried to change the path to what i posted. It just stopped 1 char short because of TC's char limit in that field. That's all. After that i dumped this solution and followed Horst.Epp's suggestion which i liked.
https://www.ghisler.ch/board/viewtopic.php?p=428540#p428540Fla$her wrote: 2023-03-25, 18:56 UTCAnd with regard to the above button, a comment would also not hurt.
I thought it was obvious in this post, i implemented it so i've ended up using it. Works fine, does wat i asked for so... Yeah!

- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Sync dirs enhancement
Unclear. I have provided the button codes to insert them into the toolbar immediately. In the first code, there are 139 characters in the first field, so there is nowhere to trigger the restriction after adding a couple of characters.
If it were obvious, then I would not have offered a more competent way out of the situation. A strange conclusion.wanderer wrote: 2023-03-25, 19:33 UTCI thought it was obvious in this post, i implemented it so i've ended up using it.
Overquoting is evil! 👎
Re: Sync dirs enhancement
2wanderer
There is also a way to write a command (including a very long one) to the [Items] section of the TCFS2.ini, for example, like this:
then call in the TC:
There is also a way to write a command (including a very long one) to the [Items] section of the TCFS2.ini, for example, like this:
Code: Select all
SyncMysetting = tcm(2020,1) eval(send_wait(,findwnd(TCmpForm))) sendmsg(if(#1==64, findwnd(LCLComboBox,,findwnd(Window,,findwnd(TCmpForm),1)), findwnd(TMyComboBox,,findwnd(TPanel,,findwnd(TCmpForm)))),334,1)
Code: Select all
%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe /ei "SyncMysetting(%PROCESSOR_ARCHITECTURE:~-2%)"
Re: Sync dirs enhancement
Well, you have provided a working solution. How the user will choose to implement this solution (since there are multiple ways) is up to him. You thought the natural way for me would be to copy/paste the solution to the .bar file, to me was to insert it through the UI and adjust the path to something that's convenient to me, hence the misunderstanding.Fla$her wrote: 2023-03-25, 21:09 UTCUnclear. I have provided the button codes to insert them into the toolbar immediately. In the first code, there are 139 characters in the first field, so there is nowhere to trigger the restriction after adding a couple of characters.

As with my reply above, it all depends on how the solution is implemented. Anyway, as i said, followed Horst.Epp's suggestion and used an external command, so all's good,Fla$her wrote: 2023-03-25, 21:09 UTCIf it were obvious, then I would not have offered a more competent way out of the situation. A strange conclusion.wanderer wrote: 2023-03-25, 19:33 UTCI thought it was obvious in this post, i implemented it so i've ended up using it.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Sync dirs enhancement
Way with sending keystrokes:
Code: Select all
%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe /ef "tcm(2020,1) eval(send_wait(`+{TAB 4}{RIGHT}{DOWN 2}{TAB}{RIGHT}{TAB 2}`,findwnd(TCmpForm)))"
Re: Sync dirs enhancement
It's not a competition for the shortest line.

Overquoting is evil! 👎