Login About Gallery
vCard Menu Template
COMMENT
INSTRUCTIONS: Change all of the information in the dictionary below to reflect the info for your Shortcut. Note: you wont have the RoutineHub Id until after you upload your Shortcut. Also, you can delete this comment.
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
DICTIONARY
<inline variable>
6 items
SCRIPTING
Repeat with each item in
menu
SCRIPTING
Get
All Values
in
Repeat Item
SCRIPTING
Repeat with each item in
Options
TEXT
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:
Repeat Item 2
; ORG:
Repeat Item 2
; PHOTO;ENCODING=b:
Repeat Item 2
; END:VCARD
End Repeat
End Repeat
SCRIPTING
Set name of
Text
to
mainMenu.vcf
SCRIPTING
Choose from
Renamed Item
Select Multiple
CONTACTS
Get
Name
from
Chosen Item
SCRIPTING
If
Name
is
Option One
TEXT
You chose
menu.optionOne.title
! You can also grab the subtitle:
menu.optionOne.sub
We were able to use `Show Result` because the `If Statement` for [Name is Option One] was true. This is becasue we use dot notation to grab the value from `menu.optionOne.title`, which is `Option One`.
SCRIPTING
Show
Text
End If
SCRIPTING
If
Name
contains
Two
TEXT
You chose
menu.optionTwo.title
! For this one the `Show Result` worked because option two's title contains the work "Two". Meaning the 'If Statement` was true. Now, try making option three do something!
SCRIPTING
Show
Text
End If
SCRIPTING
If
Name
is
Update
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
NETWORK
Get contents of
https://updatekit.mikebeas.com/v1
Options Under Construction
SCRIPTING
Get dictionary from
Contents of URL
SCRIPTING
Get
Value
for
update
in
Dictionary
TEXT
-–————————•⛭•————————–- There was a update released on:
payload.release
! Here are the release notes:
payload.notes
-–————————•⛭•————————–- Would you like to update to version
payload.version
?
SCRIPTING
Show alert
-•⛭⛭⛭
version
• Version:
name
 ⛭⛭⛭•-
Title
-•⛭⛭⛭
version
• Version:
name
 ⛭⛭⛭•-
Show Cancel Button
SCRIPTING
Get
Value
for
payload.download
in
Contents of URL
SAFARI
Otherwise
TEXT
-•⛭
name
• Version:
version
 ⛭•- -–————————•⛭•————————–-
name
is up to date!
SCRIPTING
Show
Text
End If
End If
SCRIPTING
If
Name
is
Close
SCRIPTING
Exit shortcut with
Result
End If

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 21 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0