VCARD MENU EXAMPLE 1!
Testing Fixed This Too Guys You Know Learn How TO MAKE THE BUTTONS WORK!
coltensusScan with your iPhone to install
Testing Fixed This Too Guys You Know Learn How TO MAKE THE BUTTONS WORK! - Testing Person!
What's New
Version 1.0
First release
What it does
10 actions-
Text
-
Set Name
-
Get Contacts from Input
-
Choose from List
-
Get Details of Contacts
-
Get Text from Input
-
If
-
Text
-
If
-
Text
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/text'
#include 'actions/contacts'
#define color teal
#define glyph doubleQuoteOutline
const Text = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Item A;;\nORG:Description A;\nPHOTO;ENCODING=b:Base64 Image Go Here!\nURL:https://example.com/\nNOTE:A single line of text notes\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Item Bin\nORG: Description B;\nPHOTO;ENCODING=b:Base64 Image Go Here!\nURL:https://example.com/\nNOTE:A single line of text notes\nEND:VCARD"
const RenamedItem = setName(Text, "Menu.vcf")
const Contacts = getContacts(RenamedItem)
const ChosenItem = chooseFromList(Contacts)
getContactDetail(ChosenItem, "Name")
const Text1 = getText(ChosenItem)
if Text1 == "Item A" {
} else {
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by coltensus
You Might Also Like
Advertisement