COMMENT
Created by Healey.
@healey on RoutineHub
u/iamhealey on Reddit
DICTIONARY

Dictionary
DOCUMENTS
Create Folder
Path
/Shortcuts/Quick Save Location
COMMENT
Check input source. Ideally distinguish between location input or no input.
VARIABLES
Get
Shortcut Input
SCRIPTING
Count
Items
in
Input

Count
SCRIPTING
If
Input
Condition
NUMBER

Number
VARIABLES
Set variable
InputContainsLocation
to
Input
SCRIPTING
Otherwise
NUMBER
1.0

Number
VARIABLES
Set variable
InputContainsLocation
to
Input
SCRIPTING
End If

If Result
COMMENT
Choose whether to send user to menu or store location from shortcut input.
VARIABLES
Get
InputContainsLocation
SCRIPTING
If
Input
Condition
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Save New Location

Menu Result
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Yes

Menu Result
LOCATION
Get current location

Current Location
SCRIPTING
No

Menu Result
SCRIPTING

Provided Input
SCRIPTING
End Menu

Menu Result
SCRIPTING
My Locations

Menu Result
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
SCRIPTING
Count
Items
in
Input

Count
SCRIPTING
If
Input
Condition
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
VARIABLES
Get
File
SCRIPTING
Repeat with each item in
Input

Repeat Results
SCRIPTING
Get
Value
for
Name
in
Dictionary

Dictionary Value
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
Choose from
Input
Prompt
Choose from your locations.

Chosen Item
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
VARIABLES
Set variable
location
to
Input
SCRIPTING
Get dictionary from
Input

Dictionary
NOTIFICATIONS
Show notification
Input
Options Under Construction
SHORTCUTS
Get my shortcuts

My Shortcuts
SCRIPTING
If
Input
Condition
VARIABLES
Get
Dictionary
SHORTCUTS

Shortcut Result
SCRIPTING
Exit shortcut with
Result
SCRIPTING
Otherwise
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
SCRIPTING
Delete Locations

Menu Result
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
SCRIPTING
Count
Items
in
Input

Count
SCRIPTING
If
Input
Condition
SCRIPTING
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
VARIABLES
Get
File
SCRIPTING
Repeat with each item in
Input

Repeat Results
SCRIPTING
Get
Value
for
Name
in
Dictionary

Dictionary Value
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
Choose from
Input
Prompt
Select locations to delete

Chosen Item
SCRIPTING
Repeat with each item in
Input

Repeat Results
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
DOCUMENTS
SCRIPTING
End Repeat

Repeat Results
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End Menu

Menu Result
SCRIPTING
Otherwise
VARIABLES
Get
Shortcut Input
WEB
Get URLs from
Input

URLs
SCRIPTING
Repeat with each item in
Input

Repeat Results
SCRIPTING
If
Input
Condition
TEXT
Repeat Item

Text
VARIABLES
Set variable
url
to
Input
SCRIPTING
End If

If Result
SCRIPTING
End Repeat

Repeat Results
VARIABLES
Get
url
SCRIPTING
If
Input
Condition
WEB
Expand
URL

Expanded URL
SCRIPTING
Otherwise
SCRIPTING
If
Input
Condition
SCRIPTING
Otherwise
SCRIPTING
If
Input
Condition
SCRIPTING
Otherwise
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
MAPS
Get maps URL from
Location

Maps URL
VARIABLES
Set variable
url
to
Input
SCRIPTING
Ask
Enter location name

Provided Input
VARIABLES
Get
url
LOCATION
Get
Street
from
Location

Street
VARIABLES
Get
url
LOCATION
Get
City
from
Location

City
VARIABLES
Get
url
LOCATION
Get
State
from
Location

State