ShareShortcuts

Make QR Code

Scan this QR Code

mohammed
„Make QR Code“ 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 mohammed 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
57K
Gesichert
0
Aktionen
38
Kategorie
API
Version
1.0
Sprache
EN

Scan this QR Code

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 13. Aug 2020

First release

Was er macht

38 Aktionen
  1. Comment
    When ‘Choose from Menu’ runs, an option must be chosen, and only the actions inside the chosen option will run.
  2. Choose from Menu
    What should your QR code do?
  3. Choose from Menu
    Open Website
  4. Ask for Input
    What website should this QR Code open?
  5. Choose from Menu
    Send Message
  6. Select Phone Number
  7. Comment
    This action shows a picker for your contacts with have phone numbers.
  8. Replace Text
  9. Ask for Input
    What should the message say?
  10. Text
  11. Comment
    The above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
  12. Choose from Menu
    Send Email
  13. Select Email Address
  14. Comment
    This action shows a picker for your contacts with email addresses.
  15. Ask for Input
    What’s the email subject?
  16. Ask for Input
    What should the email say?
  17. Text
  18. Comment
    The above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
  19. Choose from Menu
    Add Contact
  20. Select Contacts
  21. Set Name
  22. Choose from Menu
    Add Event
  23. Ask for Input
    What is the event called?
  24. Ask for Input
    When does the event start?
  25. Ask for Input
    When does the event end?
  26. Format Date
  27. Format Date
  28. Text
  29. Comment
    The above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
  30. Choose from Menu
    Set up Wi-Fi
  31. Get Network Details
  32. Ask for Input
    What is your Wi-Fi name?
  33. Ask for Input
    What is the password for …?
  34. Text
  35. Comment
    The above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
  36. Generate QR Code
  37. Set Name
  38. Show Result

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/contacts'
#define color darkgray
#define glyph QRCode

// When ‘Choose from Menu’ runs, an option must be chosen, and only the actions inside the chosen option will run.


menu "What should your QR code do?" {
item "Open Website":
	prompt("What website should this QR Code open?", "URL")
item "Send Message":
	selectPhoneNumber()
	// This action shows a picker for your contacts with have phone numbers.

	const StrippedPhoneNumber = replaceText("[^0-9]", "", true)
	prompt("What should the message say?")
	/*
	The above text action is used to create your QR code.
	
	⚠️ Changing it might break your QR code.
	*/
item "Send Email":
	selectEmailAddress()
	// This action shows a picker for your contacts with email addresses.

	const ProvidedSubtitle = prompt("What’s the email subject?")
	const ProvidedBody = prompt("What should the email say?")
	/*
	The above text action is used to create your QR code.
	
	⚠️ Changing it might break your QR code.
	*/
item "Add Contact":
	const Contacts = selectContact()
	setName(Contacts, "VCard.txt")
item "Add Event":
	const EventName = prompt("What is the event called?")
	const StartDate = prompt("When does the event start?", "Date")
	const EventEnd = prompt("When does the event end?", "Date")
	const FormattedStart = formatDate(StartDate, "Custom", "yyyyMMdd")
	const FormattedEnd = formatDate(EventEnd, "Custom", "yyyyMMdd")
	/*
	The above text action is used to create your QR code.
	
	⚠️ Changing it might break your QR code.
	*/
item "Set up Wi-Fi":
	const WifiName = getWifiDetail("Network Name")
	const SSID = prompt("What is your Wi-Fi name?")
	const Password = prompt("What is the password for {SSID}?")
	/*
	The above text action is used to create your QR code.
	
	⚠️ Changing it might break your QR code.
	*/
}
const QRCode = makeQRCode(, "High", [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
setName(QRCode)
show()
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 mohammed

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung