AdobeDocs / uxp-indesign

https://developer.adobe.com/indesign/uxp/
Apache License 2.0
21 stars 13 forks source link

Soap does not work with UXP and <scriptFile> #41

Open JakobFrey opened 1 year ago

JakobFrey commented 1 year ago

Issue in /src/pages/server/guides/index.md

Hi, in the server documentation are no references on running UXP scripts via soap.

I found out that you can run an UXP script the following way:

<runScriptParameters>
        <scriptLanguage>UXPScript</scriptLanguage>
        <scriptText>script content</scriptText>
</runScriptParameters>

But it's very inconvenient to put all the script content into the <scriptText> tag.

With extendscript it worked to put the path of the script file in the <scriptFile> tag, but with UXP script the following does not work:

<runScriptParameters>
        <scriptLanguage>UXPScript</scriptLanguage>
        <scriptFile>C:/adobe/scripts/HelloWorld.idjs</scriptFile>
</runScriptParameters>

Can you please expand your documentation to help developers transition to the UXP script?