manual:Plug_In_Actions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| manual:Plug_In_Actions [2021/10/06 06:41] – peternlewis | manual:Plug_In_Actions [2023/10/06 06:28] (current) – [Retrieving Parameters in a Script] peternlewis | ||
|---|---|---|---|
| Line 53: | Line 53: | ||
| - | **A _Plug In Action_ is Contained in a Folder**,\\ **Whose Name:** | + | **A _Plug In Action_ is Contained in a Folder**, **Whose Name:** |
| - Should generally closely match the action name | - Should generally closely match the action name | ||
| - Must be made up of only ASCII alphanumerics, | - Must be made up of only ASCII alphanumerics, | ||
| Line 99: | Line 99: | ||
| ^ URL | URL for the author or this action \\ **Optional** | | ^ URL | URL for the author or this action \\ **Optional** | | ||
| ^ Help | A short (Tool Tip) explanation of this action \\ **Optional** | | ^ Help | A short (Tool Tip) explanation of this action \\ **Optional** | | ||
| + | ^ HelpURL | A URL for the Help link for the action (v11.0+) \\ **Optional** | | ||
| ^ Results | **What to do with the output of the script if any**.\\ Possible Values:< | ^ Results | **What to do with the output of the script if any**.\\ Possible Values:< | ||
| * None | * None | ||
| * Window | * Window | ||
| * Briefly | * Briefly | ||
| + | * Large | ||
| * Typing | * Typing | ||
| * Pasting | * Pasting | ||
| * Variable | * Variable | ||
| + | * AppendVar | ||
| * Clipboard | * Clipboard | ||
| - | </ | + | * File |
| + | * Asynchronously | ||
| + | </ | ||
| ==== Plist Parameters ==== | ==== Plist Parameters ==== | ||
| Line 139: | 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. | + | |
manual/Plug_In_Actions.1633502475.txt.gz · Last modified: by peternlewis
