ShareShortcuts

Cutshield

Secure your stuff

turtle
„Cutshield“ 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 turtle 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
54K
Gesichert
1
Aktionen
68
Kategorie
Utilities
Version
1.0
Sprache
EN

Secure your stuff

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 18. Jan 2021

First release

Was er macht

68 Aktionen
  1. Get File
  2. If
  3. Create Folder
  4. Create Folder
  5. Text
  6. Save File
  7. Run Shortcut
    Cutshield
  8. Choose from Menu
    • 🛡 Cutshield •
  9. Choose from Menu
    🔒 Secure a file
  10. Choose from Menu
    -🛡 Cutshield-
  11. Choose from Menu
    📷 Camera
  12. Take Photo
  13. Choose from Menu
    📝 Text
  14. Ask for Input
    📝 Write the secret note 📝
  15. Choose from Menu
    📄 Browse
  16. Get File
  17. Choose from Menu
    🎞 Photos/Videos
  18. Select Photos
  19. Base64 Encode
  20. Set Variable
  21. Text
  22. Add to Variable
  23. Text
  24. Set Variable
  25. Choose from Menu
    You have encrypted a file.
  26. Choose from Menu
    Share
  27. Share
  28. Choose from Menu
    Copy
  29. Copy to Clipboard
  30. Choose from Menu
    Save
  31. Save File
  32. Choose from Menu
    QR Code
  33. Generate QR Code
  34. Save to Photo Album
  35. Choose from Menu
    Exit
  36. Stop This Shortcut
  37. Choose from Menu
    🔓 Unsecure a file
  38. Get File
  39. Split Text
  40. Get Item from List
  41. Base64 Encode
  42. Show Result
  43. Choose from Menu
    🔲 (BETA) Scan a shortcut
  44. Get My Shortcuts
  45. Choose from List
  46. Set Name
  47. Get Text from Input
  48. Set Variable
    Shortcut Content
  49. Text
  50. Set Variable
    IP Action
  51. Text
  52. Set Variable
    Location Action
  53. Text
  54. Set Variable
    Found
  55. If
  56. Text
  57. Add to Variable
  58. If
  59. Text
  60. Add to Variable
  61. Count
  62. If
  63. Show Alert
  64. If
  65. Show Alert
  66. Choose from Menu
    🛫 Exit
  67. Stop This Shortcut
  68. Run Shortcut
    Cutshield

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/text'
#include 'actions/shortcuts'
#include 'actions/sharing'
#include 'actions/photos'
#include 'actions/media'
#include 'actions/documents'
#define color yellow
#define glyph lightningBolt

const File = getFileFromFolder(, "cutshield/test.txt", false)

if !File {
	createFolder("cutshield/")
	createFolder("cutshield/files/")
	const Text = "• Reset file •\nThis is the Cutshield reset file. If  you remove this it will delete your cutshield install."
	saveFile("cutshield/test.txt", Text, true)
	runSelf()
}

menu "• 🛡 Cutshield •" {
item "🔒 Secure a file":
	menu "-🛡 Cutshield-" {
	item "📷 Camera":
		takePhoto(1, true)
	item "📝 Text":
		prompt("📝 Write the secret note 📝")
	item "📄 Browse":
		getFile("")
	item "🎞 Photos/Videos":
		selectPhotos()
	}
	base64Encode(MenuResult)
	@
	@ += ":encrypt7295$A9291A"
	@ = "{@}"
	menu "You have encrypted a file." {
	item "Share":
		share(@)
	item "Copy":
		setClipboard(@)
	item "Save":
		saveFilePrompt(@)
	item "QR Code":
		const QRCode = makeQRCode(@, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
		savePhoto(QRCode, Ask)
	item "Exit":
		stop()
	}
item "🔓 Unsecure a file":
	const File1 = getFile("")
	const SplitText = splitText(File1)
	const ItemFromList = getListItem(SplitText, 1)
	base64Encode(ItemFromList)
	show()
item "🔲 (BETA) Scan a shortcut":
	const MyShortcuts = getShortcuts()
	const ChosenItem = chooseFromList(MyShortcuts, "• Cutshield Shortcut Scanner •")
	const RenamedItem = setName(ChosenItem, "SHORTCUT.plist")
	getText(RenamedItem)
	@ShortcutContent
	@IPAction = "<string>is.workflow.actions.getipaddress</string>"
	@LocationAction = "<string>is.workflow.actions.location</string>"
	@Found = "nil"
	if @ShortcutContent contains @IPAction {
		@Found += "IP Action"
	}
	if @ShortcutContent contains @LocationAction {
		@Found += "Location Action"
	}
	const Count = count(@Found)
	if Count == 1 {
		confirm("😄 This shortcut is safe!")
	} else {
		confirm("⚠️ Be careful!\n\nDetected Actions:\n{@Found}")
	}
item "🛫 Exit":
	stop()
}
runSelf()
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 turtle

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung