ShareShortcuts
Fazer fork de “SmartDrop”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que 0you receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
20K
Salvo
2
Ações
49
Categoria
Productivity
Versão
2.0
Idioma
EN

You quickly want to share a large text, link or a photo with the person standing next to you, but you don‘t have internet connection and your AirDrop doesn’t do the job? That is not a problem anymore! Just share the text with this shortcut and, without selecting anything, a QR-Code will show up. The other person can scan it and has the text in the clipboard, ready to use.

Links will be automatically opened, no need to paste the link in your browser.


This shortcut uses 'Swing Updater' for updating. It is highly recommend to install it.

Novidades

Versão 2.0

You can now SHARE PHOTOS with Mail Drop! And thanks for 1000 Downloads.

Histórico de versões
2.0 17 de nov de 2024

You can now SHARE PHOTOS with Mail Drop! And thanks for 1000 Downloads.

1.4 31 de out de 2024

If the text is too long to be displayed, it will not show up. Changed the text in the menu that prompts you to download Swing Updater from ‘Ignore and skip’ to ‘Skip for now’.

1.3 15 de out de 2024

Moved the update section from the top to the bottom for faster sharing.

1.2 14 de out de 2024

🔥 Hot fix for the update system.

1.1 14 de out de 2024

Added the shortcut ID for updating.

1.0 14 de out de 2024

First release

O que ele faz

49 ações
  1. Get File
  2. If
  3. Text
  4. Set Name
  5. Quick Look
  6. Save File
  7. Stop and Output
  8. If
  9. Generate QR Code
  10. Get Text from Input
  11. Show Alert
  12. If
  13. Save File
  14. Repeat
  15. Get File
  16. If
  17. Wait
  18. Get File
  19. Get Link to File
  20. Generate QR Code
  21. If
  22. Generate QR Code
  23. Quick Look
  24. If
  25. Scan QR/Barcode
  26. Get URLs from Input
  27. If
  28. Open URLs
  29. If
  30. Copy to Clipboard
  31. Count
  32. If
  33. Show Alert
  34. If
  35. Show Alert
  36. Get My Shortcuts
  37. Filter Files
  38. If
  39. Choose from Menu
    ⚠️ | Please install "Swing Updater" to keep this shortcut updated.
  40. Choose from Menu
    ⬇️ | Install from ShareShortcuts
  41. Open URLs
  42. Stop This Shortcut
  43. Choose from Menu
    ⬇️ | Install from Routinehub
  44. Open URLs
  45. Stop This Shortcut
  46. Choose from Menu
    ✖️ | Skip for now
  47. If
  48. Dictionary
  49. Run Shortcut
    Swing Updater

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#include 'actions/text'
#include 'actions/documents'
#define color teal
#define glyph airplayAudio

const Datei = getFileFromFolder(, "SmartDrop/Welcome1000Downloads.html", false)

if !Datei {
	const Text = "<!-- code generated with ScreenKit by alombi (© alombi 2020)-->\n<!DOCTYPE html>\n<html lang=\\"en\\">\n    <head>\n        <meta charset=\\"utf-8\\">\n        <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\n                        \n    </head>\n  <style>\nb{\n      color:#007AFF;\n    }\n  body {\n    background-color:#f2f2f2;\n    color:#333333;\n    text-align: center;\n    font-family: system-ui;\n    padding: 5%;\n    margin:auto;\n    max-width: 650px;\n    overflow-x: hidden;\n    }\n    p{\n      font-size: 20px;\n    }\n    h1{\n      font-size:45px;\n      font-weight:800;\n      background:linear-gradient(to bottom right,rgba(66,170,233,1) 0%,rgba(54,163,231,1) 90%);\n      -webkit-background-clip: text;\n      -webkit-text-fill-color: transparent;\n    }\n    .alt{\n      font-weight:400;\n    }\n    h2{\n      font-size: 25px;\n      font-weight:300;\n      margin-top:-38;\n    }\n    h4{\n      font-size: 25px;\n      font-weight:300;\n    }\n    h3{\n      font-size: 24px;\n      font-weight:600;\n      color:#be76bf;\n    }\n        @media (prefers-color-scheme: dark) {\n            body {\n                background-color:#1C1C1E;\n                color: #f1f1f1;\n            }\n            #transaction {\n                background-color: #191919;\n                box-shadow: none;\n            }\n            p {\n                color: #AAAAAA;\n            }\n        }\n\n    </style>\n    <body>\n\t\t<h1>SmartDrop</h1>\n      <h3>Want to share links/text quickly?</h3>\n<h2>Thank you for <b>1000 Downloads</b>! Make sure to <b>like</b> the shortcut!</h2>\n<h3>----------</h3>\n      <p><b>SmartDrop</b> gives you the power of sharing links, text <b>and photos</b> with others using QR-Codes (and Mail Drop for photos).</p>\n<p>To <b>share</b> something, you have to share the URL, text or photo with SmartDrop. A QR-Code will be automatically generated for you.</p>\n<p>To <b>receive</b> something, just run this shortcut and scan the QR-Code. If the type is a URL, it will be opened. Of course the QR-Code can also be scanned with other programs.</p>\n      <h5>In order to get started, please click <b>Done</b> in the top right corner.</h5>\n    </body>\n</html>\n                    "
	const UmbenanntesObjekt = setName(Text, "Welcome1000Downloads.html", false)
	quicklook(UmbenanntesObjekt)
	saveFile("SmartDrop/Welcome1000Downloads.html", UmbenanntesObjekt, true)
	output("")
}

if ShortcutInput {
	const QRCode = makeQRCode(ShortcutInput, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
	const Text1 = getText(QRCode)
	confirm(Text1)
	if Text1 beginsWith "IMG_" {
		saveFile("SmartDrop/Shared with ShareShortcuts.jpeg", ShortcutInput, true)
		repeat _ for 20 {
			const Datei1 = getFile("SmartDrop/Shared with ShareShortcuts.jpeg", false)
			if !Datei1 {
				wait(5)
			}
		}
		const Datei2 = getFile("SmartDrop/Shared with ShareShortcuts.jpeg", false)
		getFileLink(Datei2)
		makeQRCode(, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
	} else {
		makeQRCode(ShortcutInput, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
	}
	quicklook(WennErgebnis)
} else {
	rawAction("is.workflow.actions.scanbarcode", {})
	const URLs = getURLs(QRStrichcode)
	if URLs {
		openURL(URLs)
	} else {
		setClipboard(QRStrichcode, true)
		const Anzahl = count(, "Characters")
		if Anzahl > 60 {
			confirm("⛓️‍💥 | The QR-Code doesn't contain a URL.\n\nIt contains something too looong to be displayed here.\n\nIt has been copied to your clipboard.")
		} else {
			confirm("⛓️‍💥 | The QR-Code doesn't contain a URL.\n\nIt contains the following: \"{QRStrichcode}\n\nIt has been copied to your clipboard.")
		}
	}
}
const MeineKurzbefehle = getShortcuts()
const Dateien = filterFiles(MeineKurzbefehle)

if !Dateien {
	menu "⚠️ | Please install \"Swing Updater\" to keep this shortcut updated." {
	item "⬇️ | Install from ShareShortcuts":
		openURL("https://shareshortcuts.com/shortcuts/726-swing-updater.html")
		stop()
	item "⬇️ | Install from Routinehub":
		openURL("https://routinehub.co/shortcut/2692/")
		stop()
	item "✖️ | Skip for now":
	}
} else {
	const Wrterbuch = {
		"Name": "SmartDrop",
		"SS ID": 2940,
		"Timeout": 15,
		"Version": "2.0"
	}
	run("Swing Updater", Wrterbuch)
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de 0you

Ver tudo

Você também pode gostar

Ver tudo
Publicidade