Keep original file ext name in link name when "Paste Shortcut"

Quickest I can think of is to simply rename the pasted links. Might be possible to combine the two steps, but a hotkey for the Rename is probably sufficient.

function OnGetNewName(getNewNameData) {
    var otherMeta = getNewNameData.item.metadata.other;
    if (otherMeta.target_type == 'linkfile') return otherMeta.target.filepart + getNewNameData.newname_ext;
}

toTarget.orp (462 Bytes)