Need code for a button to create shortcuts

I need the code for a toolbar button which when

  1. left clicked should create shortcut(s) of selected item(s) in the same pane
  2. middle clicked should create shortcut(s) in a startup folder (C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
  3. right clicked should create the shortcut(s) in opposite pane

Thanks in advance.

You maybe have to adjust your path.

<?xml version="1.0"?> <button backcol="none" display="label" textcol="none" type="three_button"> <label>Neuer Schalter</label> <icon1>#newcommand</icon1> <button backcol="none" display="label" textcol="none"> <label>Shortcut HERE</label> <icon1>#newcommand</icon1> <function type="normal"> <instruction>COPY Makelink=shortcut HERE</instruction> </function> </button> <button backcol="none" display="label" textcol="none"> <label>Copy in destination</label> <icon1>#newcommand</icon1> <function type="normal"> <instruction>COPY Makelink</instruction> </function> </button> <button backcol="none" display="label" textcol="none"> <label>Shortcut in roaming</label> <icon1>#newcommand</icon1> <function type="normal"> <instruction>COPY Makelink TO &quot;C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup&quot;</instruction> </function> </button> </button>

Thanks, it works.