%T%O on branch view mode

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Galizza
Senior Member
Senior Member
Posts: 202
Joined: 2018-09-07, 05:21 UTC

%T%O on branch view mode

Post by *Galizza »

 
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
 
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: %T%O on branch view mode

Post by *white »

Make the other side active (cm_FocusTrg) and use %P%M:~-0,100
User avatar
Galizza
Senior Member
Senior Member
Posts: 202
Joined: 2018-09-07, 05:21 UTC

Re: %T%O on branch view mode

Post by *Galizza »

 
white wrote: 2022-08-23, 00:01 UTC Make the other side active (cm_FocusTrg) and use %P%M:~-0,100
Your solution works :D , 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!
 
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: %T%O on branch view mode

Post by *white »

Galizza wrote: 2022-08-23, 01:57 UTC Your solution works :D , 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!
If you don't need to start it multiple time at the same time you can move the temp file.

em_move_temp

Code: Select all

Command: cmd /c move /y
Paramaters: %UL "%%temp%%\_tc_mytemp1"
Then in a following command can use "%%temp%%\_tc_mytemp1" in parameter field, or "%temp%\_tc_mytemp1" in command field.
User avatar
Galizza
Senior Member
Senior Member
Posts: 202
Joined: 2018-09-07, 05:21 UTC

Re: %T%O on branch view mode

Post by *Galizza »

white 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_temp

Code: Select all

Command: cmd /c move /y
Paramaters: %UL "%%temp%%\_tc_mytemp1"
Then in a following command can use "%%temp%%\_tc_mytemp1" in parameter field, or "%temp%\_tc_mytemp1" in command field.
I'll try it, thank you very much :!:
Post Reply