-
I have the following filter: runtime = require("runtime")
documento_pdf = runtime.variables['completefilename']:gsub("\\", "/")
ruta_pdf = runtime.variables['completepath']:gsub("\\", "/"):gsub('"',"/")
nombre_archivo = runtime.variables['filename']
extension = runtime.variables['extension']
runtime.execute({"sp", "--dummy", "--quiet", "--jobname", string.format("nuevo_%s%s",nombre_archivo,extension), "--filter", "spimpdok.lua", "--data", "spimpdok.xml", "-v", string.format("'completefilename=%s'",documento_pdf)})
print(documento_pdf) Because of using
How can I access to the values of the Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
pgundlach
Aug 2, 2022
Replies: 1 comment 2 replies
-
How do you call the first sp run? The error message indicates that the variable |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pr-apes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you call the first sp run? The error message indicates that the variable
completefilename
is not set on invocation.