With ~:results file~, the absence of ~:file~ will cause the filename to be constructed from the block name and ~:file-ext~, if they are both present. To achieve that with ~:results file link~, I could only come up with
~:var outFile=(alist-get :file (nth 2 (org-babel-get-src-block-info 't)))~ Have I missed something obvious? Is there a better way to do this? If there isn't, would it be acceptable to add something like `org-babel-get-src-block-param-value' or maybe more specific like `org-babel-get-src-block-results-file-name'? Regards, Aitenate