When you sign by a script file, you can pass parameters dynamically.
For example, you can create a cmd file which contains scripts like this:
%1 sign /a /fd sha256 /sha1 %2 /tr %3 /td sha256 %4
And then in the "Use your own signing script" field, input the file path of the cmd file and the parameter values (using Microsoft’s SignCode for example):
"D:\2022R3\test\testparam.cmd" "D:\2022R3\test\signcode.exe" "13731a37233bbd83eeb13e95c7898d1d76a2256c" "http://timestamp.digicert.com" "salesdemo_cloud.exe"
For more information, refer to Signing.