You'll need to do something like this
This will work in FlashFXP v5.0.0.3801 and up.
Code:
{
/set @f@ %f
/switch
site undupe @f@
/switch
}
The code above works by grouping the commands on each selected item.
/set @f@ %f
Will set the variable @f@ to %f which is the current item in the active browser (.i.e. left side).
/switch
Switches to the opposite side (i.e. right side)
site undupe @f@
Sends the command to the right side.
/switch
Switches back to the original side (.i.e. left side)
This command block is then repeated for each selected item.
I noticed that the /window command doesn't work properly when used with the /switch command, only commands that are sent to the active window are logged. I am changing this behavior in the next build to include commands from both sides when /switch is used.
I selected files named 1,2,3,4,5 and the result in the status window looks like this.
Code:
[L] [CMD] /set @f@ 1
[L] [CMD] /switch
[R] site undupe 1
[R] 200 Command Successful.
[R] [CMD] /switch
[L] [CMD] /set @f@ 2
[L] [CMD] /switch
[R] site undupe 2
[R] 200 Command Successful.
[R] [CMD] /switch
[L] [CMD] /set @f@ 3
[L] [CMD] /switch
[R] site undupe 3
[R] 200 Command Successful.
[R] [CMD] /switch
[L] [CMD] /set @f@ 4
[L] [CMD] /switch
[R] site undupe 4
[R] 200 Command Successful.
[R] [CMD] /switch
[L] [CMD] /set @f@ 5
[L] [CMD] /switch
[R] site undupe 5
[R] 200 Command Successful.
[R] [CMD] /switch