ShareShortcuts

Make QR Code

Scan this QR Code

mohammed
Fazer fork de “Make QR Code”

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 mohammed 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
57K
Salvo
0
Ações
38
Categoria
API
Versão
1.0
Idioma
EN

Scan this QR Code

Novidades

Versão 1.0

First release

Histórico de versões
1.0 13 de ago de 2020

First release

O que ele faz

38 ações
  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

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/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()
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 mohammed

Ver tudo

Você também pode gostar

Ver tudo
Publicidade