Scan with your iPhone to install
This shortcut calls your contact using FaceTime or FaceTime audio!
What's New
Version 1.0
First release
What it does
15 actions-
Select Contacts
-
Get Phone Numbers
-
If
-
Text
-
Set VariablePhone Number
-
If
-
Show Result
-
Run ShortcutFaceTime/FaceTime Audio
-
Choose from Menu
-
Choose from MenuFacetime
-
URLfacetime:…
-
Open X-Callback URL
-
Choose from MenuFacetime audio
-
URLfacetime-audio:…
-
Open X-Callback URL
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/contacts'
#define color blue
#define glyph magicWandAlt
selectContact()
const PhoneNumbers = getPhoneNumbers()
if PhoneNumbers == PhoneNumbers {
@PhoneNumber = "{PhoneNumbers}"
} else {
show("This contact does not have a phone number. Please choose another contact")
runSelf(PhoneNumbers)
}
menu nil {
item "Facetime":
url("facetime:{@PhoneNumber}")
openCustomXCallbackURL()
item "Facetime audio":
url("facetime-audio:{@PhoneNumber}")
openCustomXCallbackURL()
}
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 tbb
You Might Also Like
Advertisement