Pastery

clippingsbackup +

  1{  2	"actions": [  3		{  4			"type": "@clips.get-text",  5			"parameters": {  6				"mode": 1  7			}  8		},  9		{ 10			"type": "@flow.set-variable", 11			"parameters": { 12				"value": { 13					"value": "$", 14					"tokens": [ 15						{ 16							"location": 0, 17							"value": "@input" 18						} 19					] 20				}, 21				"name": { 22					"value": "clippings" 23				} 24			} 25		}, 26		{ 27			"type": "@text.count", 28			"parameters": { 29				"mode": 0, 30				"text": { 31					"value": "$", 32					"tokens": [ 33						{ 34							"location": 0, 35							"value": "clippings" 36						} 37					] 38				} 39			} 40		}, 41		{ 42			"type": "@flow.set-variable", 43			"parameters": { 44				"value": { 45					"value": "$", 46					"tokens": [ 47						{ 48							"location": 0, 49							"value": "@input" 50						} 51					] 52				}, 53				"name": { 54					"value": "count" 55				} 56			} 57		}, 58		{ 59			"type": "@editor.new", 60			"parameters": { 61				"location": 2, 62				"openInEditor": false, 63				"filename": { 64					"value": "clippings.md" 65				}, 66				"text": { 67					"value": "$", 68					"tokens": [ 69						{ 70							"location": 0, 71							"value": "clippings" 72						} 73					] 74				}, 75				"overwriteIfExists": true 76			} 77		}, 78		{ 79			"type": "@ui.toast", 80			"parameters": { 81				"style": 0, 82				"waitUntilDone": false, 83				"title": { 84					"value": "$ Clippings Backed Up", 85					"tokens": [ 86						{ 87							"location": 0, 88							"value": "count" 89						} 90					] 91				} 92			} 93		} 94	], 95	"buildVersion": 1, 96	"name": "Clippings Backup", 97	"clientMinVersion": 1, 98	"summary": "Backs up all clippings content in a single file at [iCloud Storage]/clippings.md.", 99	"icon": {100		"glyph": "externaldrive.badge.checkmark",101		"color": "#10ADC0"102	},103	"clientVersion": 1222104}
New paste