Mit dem iPhone scannen, um zu installieren
Scan this QR Code
Neue Funktionen
Version 1.0
First release
Was er macht
38 Aktionen-
CommentWhen ‘Choose from Menu’ runs, an option must be chosen, and only the actions inside the chosen option will run.
-
Choose from MenuWhat should your QR code do?
-
Choose from MenuOpen Website
-
Ask for InputWhat website should this QR Code open?
-
Choose from MenuSend Message
-
Select Phone Number
-
CommentThis action shows a picker for your contacts with have phone numbers.
-
Replace Text
-
Ask for InputWhat should the message say?
-
Text
-
CommentThe above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
-
Choose from MenuSend Email
-
Select Email Address
-
CommentThis action shows a picker for your contacts with email addresses.
-
Ask for InputWhat’s the email subject?
-
Ask for InputWhat should the email say?
-
Text
-
CommentThe above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
-
Choose from MenuAdd Contact
-
Select Contacts
-
Set Name
-
Choose from MenuAdd Event
-
Ask for InputWhat is the event called?
-
Ask for InputWhen does the event start?
-
Ask for InputWhen does the event end?
-
Format Date
-
Format Date
-
Text
-
CommentThe above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
-
Choose from MenuSet up Wi-Fi
-
Get Network Details
-
Ask for InputWhat is your Wi-Fi name?
-
Ask for InputWhat is the password for …?
-
Text
-
CommentThe above text action is used to create your QR code. ⚠️ Changing it might break your QR code.
-
Generate QR Code
-
Set Name
-
Show Result
Als Code ansehen
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
Das gefällt dir vielleicht auch
Werbung