You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+37-4
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,12 @@ The following parameters are available to customize your Script Command in Rayca
58
58
| icon | Icon that is displayed in the root search. Can be an emoji, a file path (relative or full) or a remote URL (only https). Supported formats for images are PNG and JPEG. Please make sure to use small icons, recommended size - 32px. | No | 0.29+ |
59
59
| currentDirectoryPath | Path from which the script is executed. Default is the path of the script. | No | 0.29+ |
60
60
| needsConfirmation | Specify `true` if you would like to show confirmation alert dialog before running the script. Can be helpful with destructive scripts like "Quit All Apps" or "Empty Trash". Default value is `false`. | No | 0.30+ |
61
-
| refreshTime | Specify a refresh interval for `inline` mode scripts in seconds, minutes, hours or days. Examples: `5s`, `1m`, `12h`, `1d`. Script output will be shown inline in dashboard items. *Note* that the actual times are not accurate and can vary depending on how the OS prioritizes scheduled work. The minimum allowed refresh interval is 5 seconds (use responsibly...), and the maximum allowed number of refreshing `inline` commands is 10. | No | 0.31+ |
62
-
| author | Define an author name to be part of the script commands documentation | No ||
63
-
| authorURL | Author social media, website, email or anything to help the users to get in touch | No ||
64
-
| description | A brief description about the script command to be presented in the documentation | No ||
61
+
| refreshTime | Specify a refresh interval for `inline` mode scripts in seconds, minutes, hours or days. Examples: `5s`, `1m`, `12h`, `1d`. Script output will be shown inline in dashboard items. *Note* that the actual times are not accurate and can vary depending on how the OS prioritizes scheduled work. The minimum allowed refresh interval is 5 seconds (use responsibly...), and the maximum allowed number of refreshing `inline` commands is 10. | No | 0.31+ |
62
+
| argument[1...3]| Custom arguments, see [Passing Arguments](https://github.com/raycast/script-commands#how-to-use-this-repository) section that explains in details how to use this field | No | 1.2.0+ |
63
+
| author | Define an author name to be part of the script commands documentation | No ||
64
+
| authorURL | Author social media, website, email or anything to help the users to get in touch | No ||
65
+
| description | A brief description about the script command to be presented in the documentation | No ||
66
+
65
67
66
68
**⚠️ Whenever you make changes to the parameters of the Script Command, trigger the "Reload Script Directories" command in root search (v0.33+), or press "Reload" in script commands preferences, or activate "Auto Reload" in preferences so that your scripts get automatically reloaded (experimental, v0.33+). Also note that "reloading" means that script metadata is parsed and Raycast search is refreshed – the actual scripts are only run when you manually trigger their command or when an inline command with refreshTime is automatically triggered.**
67
69
@@ -75,6 +77,37 @@ In `fullOutput` the entire output is presented on a separate view, similar to a
75
77
76
78
In `inline` mode, the first line of output will be directly shown in the command item and automatically refresh according to the specified `refreshTime`. Tip: Set your dashboard items as favorites via the action menu in Raycast
Use `argument[1..3]` metadata to specify custom arguments that will be displayed as inputs in the search bar when the script is selected. Value of the argument metadata paratmeter should be valid json with these fields:
0 commit comments