%T%O on branch view mode
Moderators: Hacker, petermad, Stefan2, white
%T%O on branch view mode
Hi, lets say that i have this directory structure with these files
C:\SOURCE\Shelldetails.wdx
C:\SOURCE\STYLES\Layout.css
On left panel i open C:\SOURCE\ and C:\TARGET\ on the right one
On BRANCH VIEW mode i position cursor over C:\SOURCE\STYLES\Layout.css
when i use %T%O from left panel i get C:\TARGET\STYLES\Layout
What should i do to get C:\TARGET\Layout ?, thanks
Re: %T%O on branch view mode
Make the other side active (cm_FocusTrg) and use %P%M:~-0,100
Re: %T%O on branch view mode
Your solution works

%P%M:~-0,100 also uses %UL , and after cm_FocusTrg %UL will
contain the wrong files, any solution ?, thanks again!
Re: %T%O on branch view mode
If you don't need to start it multiple time at the same time you can move the temp file.Galizza wrote: 2022-08-23, 01:57 UTC Your solution works, but the em_command that will use
%P%M:~-0,100 also uses %UL , and after cm_FocusTrg %UL will
contain the wrong files, any solution ?, thanks again!
em_move_temp
Code: Select all
Command: cmd /c move /y
Paramaters: %UL "%%temp%%\_tc_mytemp1"
Re: %T%O on branch view mode
I'll try it, thank you very muchwhite wrote: 2022-08-23, 08:18 UTC If you don't need to start it multiple time at the same time you can move the temp file.
em_move_tempThen in a following command can use "%%temp%%\_tc_mytemp1" in parameter field, or "%temp%\_tc_mytemp1" in command field.Code: Select all
Command: cmd /c move /y Paramaters: %UL "%%temp%%\_tc_mytemp1"
