Login About Gallery
My Parked Car
COMMENT
This shortcut allows you to quickly set or get the location of your parked car. It also allows you to set a note or attach a photo to it. If run through a personal automation, a value of 1 or 2 can be passed into the shortcut to specify set/get operation (recomended for use with NFC stickers).
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
dismisssiri Under Construction
SCRIPTING
If
Shortcut Input
has any value
VARIABLES
Set variable
choice
to
Shortcut Input
Otherwise
SCRIPTING
Repeat with each item in
Main Menu
SCRIPTING
Get
Value
for
Repeat Item
in
Main Menu
TEXT
Repeat Item
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:
Value
;;;; ORG;CHARSET=utf-8:; PHOTO;ENCODING=b:
Main Menu
;;;; END:VCARD
VARIABLES
Set variable
Main Menu
to
Text
End Repeat
SCRIPTING
Set name of
Main Menu
to
vCard.vcf
SCRIPTING
Choose from
Generated Menu
Prompt
Choose an option:
Select Multiple
SCRIPTING
If
Chosen Item
is
Set the Location
NUMBER
1
VARIABLES
Set variable
choice
to
option 1
Otherwise
NUMBER
2
VARIABLES
Set variable
choice
to
option 2
End If
End If
SCRIPTING
If
choice
is
1
SCRIPTING
Repeat with each item in
Set Location Menu
SCRIPTING
Get
Value
for
Repeat Item
in
Set Location Menu
TEXT
Repeat Item
BEGIN:VCARD VERSION:3.0 N;CHARSET=utf-8:
Value
;;;; ORG;CHARSET=utf-8:; PHOTO;ENCODING=b:
Set Location Menu
;;;; END:VCARD
VARIABLES
Set variable
Set Location Menu
to
Text
End Repeat
SCRIPTING
Set name of
Set Location Menu
to
vCard.vcf
SCRIPTING
Choose from
Generated Menu
Prompt
Select items to add:
Select Multiple
Select All Initially
SCRIPTING
If
Chosen Item
contains
Note
SCRIPTING
Ask
Enter your note:
Input Type
Text
Default Answer
Text
End If
SCRIPTING
If
Chosen Item
contains
Photo
CAMERA
Take
1 photo
photo
Back
camera
Show Camera Preview
End If
setparkedcar Under Construction
NOTIFICATIONS
Show notification
Parked Car
Options Under Construction
Otherwise
SCRIPTING
If
choice
is
2
getparkedcarlocation Under Construction
SCRIPTING
If
Car Location
has any value
MAPS
Show
Car Location
in Maps
Otherwise
SCRIPTING
Show alert
Error:
Title
Error:
Show Cancel Button
End If
Otherwise
SCRIPTING
Show alert
Check Input
Title
Check Input
Show Cancel Button
End If
End If
End If

Showcuts

Magic Vars

Screenshot

Submitted Anonymously a month ago

This is an old shortcut, so some variables might be missing!

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0