- GitHub Issue
- URL Scheme -
taio://actions?action=run&name=Clippings%20Backup

Metadata
Action Description
Backs up all clippings content - merged in a single text file - at [iCloud Storage]/clippings.md.
Description
This action uses the Get Clippings action step to return the content of all clippings, which is then counted by lines and backed up (by default) in the root of one's iCloud Drive storage for Taio as clippings.md. (iCloud Drive/Taio/Editor/clippings.md) Before finishing, the actions displays the number of lines it has backed up.
Source
<script>(function(d, s, id) {var js, pastejs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src ='https://www.pastery.net/static/js/embed.js';pastejs.parentNode.insertBefore(js, pastejs);}(document, 'script', 'pastery-jssdk'));</script>
{
"actions": [
{
"type": "@clips.get-text",
"parameters": {
"mode": 1
}
},
{
"type": "@flow.set-variable",
"parameters": {
"value": {
"value": "$",
"tokens": [
{
"location": 0,
"value": "@input"
}
]
},
"name": {
"value": "clippings"
}
}
},
{
"type": "@text.count",
"parameters": {
"mode": 0,
"text": {
"value": "$",
"tokens": [
{
"location": 0,
"value": "clippings"
}
]
}
}
},
{
"type": "@flow.set-variable",
"parameters": {
"value": {
"value": "$",
"tokens": [
{
"location": 0,
"value": "@input"
}
]
},
"name": {
"value": "count"
}
}
},
{
"type": "@editor.new",
"parameters": {
"location": 2,
"openInEditor": false,
"filename": {
"value": "clippings.md"
},
"text": {
"value": "$",
"tokens": [
{
"location": 0,
"value": "clippings"
}
]
},
"overwriteIfExists": true
}
},
{
"type": "@ui.toast",
"parameters": {
"style": 0,
"waitUntilDone": false,
"title": {
"value": "$ Clippings Backed Up",
"tokens": [
{
"location": 0,
"value": "count"
}
]
}
}
}
],
"buildVersion": 1,
"name": "Clippings Backup",
"clientMinVersion": 1,
"summary": "Backs up all clippings content in a single file at [iCloud Storage]/clippings.md.",
"icon": {
"glyph": "externaldrive.badge.checkmark",
"color": "#10ADC0"
},
"clientVersion": 1222
}
taio://actions?action=run&name=Clippings%20BackupMetadata
Action Description
Backs up all clippings content - merged in a single text file - at [iCloud Storage]/clippings.md.
Description
This action uses the Get Clippings action step to return the content of all clippings, which is then counted by lines and backed up (by default) in the root of one's iCloud Drive storage for Taio as
clippings.md. (iCloud Drive/Taio/Editor/clippings.md) Before finishing, the actions displays the number of lines it has backed up.Source
- GitHub
- Pastery
<script>(function(d, s, id) {var js, pastejs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src ='https://www.pastery.net/static/js/embed.js';pastejs.parentNode.insertBefore(js, pastejs);}(document, 'script', 'pastery-jssdk'));</script>{ "actions": [ { "type": "@clips.get-text", "parameters": { "mode": 1 } }, { "type": "@flow.set-variable", "parameters": { "value": { "value": "$", "tokens": [ { "location": 0, "value": "@input" } ] }, "name": { "value": "clippings" } } }, { "type": "@text.count", "parameters": { "mode": 0, "text": { "value": "$", "tokens": [ { "location": 0, "value": "clippings" } ] } } }, { "type": "@flow.set-variable", "parameters": { "value": { "value": "$", "tokens": [ { "location": 0, "value": "@input" } ] }, "name": { "value": "count" } } }, { "type": "@editor.new", "parameters": { "location": 2, "openInEditor": false, "filename": { "value": "clippings.md" }, "text": { "value": "$", "tokens": [ { "location": 0, "value": "clippings" } ] }, "overwriteIfExists": true } }, { "type": "@ui.toast", "parameters": { "style": 0, "waitUntilDone": false, "title": { "value": "$ Clippings Backed Up", "tokens": [ { "location": 0, "value": "count" } ] } } } ], "buildVersion": 1, "name": "Clippings Backup", "clientMinVersion": 1, "summary": "Backs up all clippings content in a single file at [iCloud Storage]/clippings.md.", "icon": { "glyph": "externaldrive.badge.checkmark", "color": "#10ADC0" }, "clientVersion": 1222 }