This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:Plug_In_Actions [2023/09/18 02:39] peternlewis [Plug In Action PList] |
manual:Plug_In_Actions [2023/10/06 02:28] peternlewis [Retrieving Parameters in a Script] |
||
---|---|---|---|
Line 112: | Line 112: | ||
* File | * File | ||
* Asynchronously | * Asynchronously | ||
- | </WRAP> Multiple values can be used, separated by a bar (%%|%%), the first specified value is the default \\ **Optional** | | + | </WRAP> Multiple values can be used, separated by a bar (%%|%%), the first specified value is the default. If output is going to a clipboard or a file, the results can be an image. \\ **Optional** | |
==== Plist Parameters ==== | ==== Plist Parameters ==== | ||
Line 144: | Line 144: | ||
- | _Parameters_ are passed to the script via _environment variables_ with names starting with KMPARAM‗, similar to how variables are passed to shell scripts with the Execute Script action. | + | _Parameters_ are passed to the script via _environment variables_ with names starting with KMPARAM‗, similar to how variables are passed to shell scripts with the Execute Script action. |
- | So a parameter named "My Text" would be in an environment variable KMPARAM‗My‗Text.\\ | + | So a parameter named "My Text" would be in an environment variable KMPARAM‗My‗Text. Note that `spaces` in the variable names _must_ be replaced with `underscores` in your script. |
- | Note that `spaces` in the variable names _must_ be replaced with `underscores` in your script. | + | |