User Tools

Site Tools


settings_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

settings_scripts [2022/03/28 19:14]
yves created
settings_scripts [2022/04/01 18:30] (current)
antreas
Line 1: Line 1:
 ===== External script ===== ===== External script =====
 +External scripts is the functionality provided by PMA.core to configure and execute command line scripts via  PMA.core itself. ​
 +
 +{{ ::​external_scripts.jpg?​600 |}}
 +
 +==== Adding a new script ====
 +To configure a new script you need to provide the following information describing the script you want to execute and the parameters passed to it
 +^ Setting ^ Description ^
 +|Name| A unique name for the script used to fetch it and distinguish from other|
 +|Command| The command line to execute, a bat file, cmd file or exe|
 +|Arguments| The arguments passed to the script |
 +|Parameters| A dynamic list of parameters passed to the script by PMA.core|
 +
 +The following types of parameters are supported
 +^ Parameter ^ Description^
 +| Number | A number parameter |
 +| Path | A path parameter i.e. a slide path |
 +| String| A string parameter|
 +{{ :​external_scripts_add.jpg?​600 |}}
 +
 +==== Executing an script ====
 +To execute an external script after adding and configuring it you have to utilize the 
 +[[https://​docs.pathomation.com/​pma.core.api/#/​Script/​ExternalScripts_Run|Scripts Run]] API 
settings_scripts.1648484069.txt.gz ยท Last modified: 2022/03/28 19:14 by yves