Transit
TEXT
Text

Text
DICTIONARY

Dictionary
COMMENT
To add additional options to this shortcut:
1. Tap “Add new item”
2. Select “Text”
3. In the “Key” field enter a label for your new address
4. In the “Text” field type the full address
SCRIPTING
Choose from
Dictionary
Prompt
Where are you going?

Chosen Item
SCRIPTING
Get
Value
for
Chosen Key
in
Dictionary

Dictionary Value
SCRIPTING
If
Chosen Key
is
Office
SCRIPTING
Get dictionary from
Dictionary Value

Dictionary
SCRIPTING
Get
All Keys
in
Dictionary

Dictionary Value
SCRIPTING
Choose from
Keys
Prompt
What borough are you working in?

Chosen Item
SCRIPTING
Get
Value
for
Chosen Key
in
Dictionary

Dictionary Value
SCRIPTING
Get dictionary from
Dictionary Value

Dictionary
SCRIPTING
Get
All Keys
in
Dictionary

Dictionary Value
SCRIPTING
Choose from
Keys
Prompt
Which space are you visiting?

Chosen Item
SCRIPTING
Get
Value
for
Chosen Item
in
Dictionary

Dictionary Value
MAPS
Get addresses from
Dictionary Value

Addresses
VARIABLES
Set variable
Address
to
Addresses
SCRIPTING
Otherwise
MAPS
Get addresses from
Dictionary Value

Addresses
VARIABLES
Set variable
Address
to
Addresses
SCRIPTING
End If

If Result
SCRIPTING
URL
Encode
Address

URL Encoded Text
URL
http://maps.google.com/maps?f=d&daddr=(
URL Encoded Address
)&nav=1&directionsmode=transit

URL
SCRIPTING
Open
URL
with x-callback
Options Under Construction

X-Callback Result
Showcuts