Login About Gallery
Loyalty Cards 1.0
COMMENT
Loyalty Cards 1.0 By robric18
COMMENT
Copy a base64 encoded version of each loyalty card into the stores subsection of the dictionary below. Click where it says 5 items the. Add store names and the encoded card. We have put some store suggestions in to get you started.
DICTIONARY
Stores
5 items
COMMENT
Change this value to change the radius of the search.
NUMBER
0.5
VARIABLES
Set variable
Search Radius
to
Number
COMMENT
Due to a weird quirk of shortcuts, getting your location is actually much faster by first getting the current weather conditions where you are and then getting your location from the weather conditions than using the get location command. That is why these actions are used here.
LOCATION
Get current weather at
Current Location
LOCATION
Get
Location
from
Weather Conditions
VARIABLES
Set variable
Current Location
to
Location
VARIABLES
Set variable
Stores
to
Stores
SCRIPTING
Get
All Keys
in
Stores
SCRIPTING
Repeat with each item in
Dictionary Value
MAPS
Search for
Repeat Item
near
Current Location
SCRIPTING
Get
First Item
from
Local Businesses
MAPS
Get distance from
Current Location
to
Item from List
Route Type
Direct
Driving
Walking
Unit
Miles
Kilometers
SCRIPTING
If
Distance
is less than
Search Radius
SCRIPTING
Set
Distance
to
Repeat Item
in
Dictionary
Otherwise
NOTHING
Nothing
End If
End Repeat
SCRIPTING
Get
Last Item
from
Repeat Results
SCRIPTING
Get
All Keys
in
Item from List
FILES
Sort by
Name
Order
A to Z
Limit
SCRIPTING
Repeat with each item in
Files
SCRIPTING
Get
Value
for
Repeat Item
in
Item from List
End Repeat
TEXT
Repeat Results
Other Card
TEXT
Split
Text
by
New Lines
SCRIPTING
Choose from
Split Text
Prompt
optional
Select Multiple
SCRIPTING
If
Chosen Item
is
Other Card
SCRIPTING
Choose from
Dictionary Value
Prompt
Pick A Card
Select Multiple
SCRIPTING
Get
Value
for
Chosen Item
in
Stores
Otherwise
SCRIPTING
Get
Value
for
Chosen Item
in
Stores
End If
SCRIPTING
Decode
If Result
with base64
DOCUMENTS
Show
Base64 Encoded
in Quick Look

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 2 years ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0