ShareShortcuts
„PaperClips“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit shortgram die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
49K
Gesichert
3
Aktionen
21
Kategorie
Productivity
Version
1.0
Sprache
EN

Clipboard manager

Apps needed from the App Store:

  • Data jar

You will need to create a List in Data Jar named PaperClips for the shortcut to work!

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 29. Jun 2021

First release

Was er macht

21 Aktionen
  1. Get Clipboard
  2. Set Variable
    clip_board
  3. Comment
    ^ | | | Device clipboard
  4. Get Value
    dk.simonbs.DataJar
  5. Set Variable
    ClipBoard
  6. Comment
    ^ | | | Clipboard database values
  7. Adjust Date
  8. Set Variable
    expiration_date
  9. Comment
    ^ | | | Clipboard expiration date
  10. Choose from Menu
  11. Choose from Menu
    GET
  12. If
  13. Show Notification
    Nothing on the clipboard
  14. If
  15. Choose from List
  16. Copy to Clipboard
  17. Choose from Menu
    POST
  18. If
  19. Show Notification
    No value on clipboard
  20. If
  21. Insert Value In Array
    dk.simonbs.DataJar

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/sharing'
#define color taupe
#define glyph walletPass

const Clipboard = getClipboard()
@clip_board = Clipboard
/*
^
|
|
|
Device clipboard
*/
rawAction("dk.simonbs.DataJar.GetValueIntent", {
	"keyPath": "PaperClips"
})
@ClipBoard
/*
^
|
|
|
Clipboard database values
*/
adjustDate(CurrentDate, "")
@expiration_date
/*
^
|
|
|
Clipboard expiration date
*/

menu "" {
item "GET":
	if !@ClipBoard {
		showNotification("Nothing on the clipboard", Value)
	} else {
		const ChosenItem = chooseFromList(@ClipBoard, "")
		setClipboard(ChosenItem, @expiration_date)
	}
item "POST":
	if !@clip_board {
		showNotification("No value on clipboard", Clipboard)
	} else {
		rawAction("dk.simonbs.DataJar.InsertValueInArrayIntent", {
			"keyPath": "PaperClips",
			"valueConversionMode": "automatic",
			"values": "@clip_board"
		})
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von shortgram

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung