ShareShortcuts

Make QR Code

Scan this QR Code

mohammed
Dupliquer « Make QR Code »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que mohammed soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
57K
Enregistré
0
Actions
38
Catégorie
API
Version
1.0
Langue
EN

Scan this QR Code

Nouveautés

Version 1.0

First release

Historique des versions
1.0 13 août 2020

First release

Ce qu’il fait

38 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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()
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de mohammed

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité