Clipboard all in one.
An iOS clipboard tool based on JSBox.
Support for home widgets and notification center widgets.
The build script depends on Parcel.
npm i -g parcel
npm run build
You can also use the packaged files directly dist/CAIO.json.
For details on how to write, see
scripts/action/README.md
or the book button in the upper right corner of theAction
edit page in the app.
- The data processed by the
Action
button at the top of the home page is the currently copied content. - The data processed by the
Action
menu that pops up by long-pressing the list is the selected content. - The data processed by the
Action
button in the editor is whatever is being edited.
Click to copy, long press to trigger the action.
Please try to avoid using the Today Widget when JSBox is running CAIO.
Sync data with WebDAV.
Config Example:
Host: https://example.com/dav
User: guest
Password: password123
Base Path: /path/to/save
Please add a new action called Run JSBox script
and set the Name
parameter to CAIO
.
Next, set the Parameter Dictionary
to a Dictionary
.
Parameter | Type |
---|---|
set | Text |
get | Number |
delete | Number |
table | Text |
set
: The content will be saved to CAIO unless there is already an existing item with the same content.get
: The item at the specified index (e.g., 0) will be returned.delete
: The item at the specified index (e.g., 0) will be deleted, returning its content.table
: It will specify the table to either set or get the item from, with options being["favorite", "clips"]
. This parameter is optional and has a default value ofclips
.
All ActionData
parameters are supported, e.g. args
.
Parameter | Type |
---|---|
runAction | Text |
text | Text |
runAction
: Long press the action on the JSBox action page to copy the URL Schema and fill it in here.text
: Optional parameter to pass content to the action. When running JSBox in a shortcut, the script cannot access clipboard content, so you need to pass it through this parameter (use the shortcut'sGet Clipboard
action).