Login About Gallery
Home Inventory Setup
COMMENT
Hi! This shortcut is a Setup for the Home Inventory shortcut by u/etodemerzel5. With the help of the Setup, you will create everything you’ll need to use the Home Inventory shortcut from zero. Good luck! u/etodemerzel5
TEXT
VARIABLES
Set variable
\n
to
Text
SCRIPTING
Show alert
Home Inventory Setup - Data Jar check
Title
Home Inventory Setup - Data Jar check
Show Cancel Button
SCRIPTING
Show alert
Home Inventory Setup - Data Jar value check
Title
Home Inventory Setup - Data Jar value check
Show Cancel Button
TEXT
Home Inventory
VARIABLES
Set variable
MainStore
to
Text
TEXT
Inventory
VARIABLES
Set variable
Inventory
to
Text
TEXT
Measurements
VARIABLES
Set variable
Measurements
to
Text
SCRIPTING
Show alert
Home Inventory Setup - Instructions
Title
Home Inventory Setup - Instructions
Show Cancel Button
SCRIPTING
Show alert
Home Inventory Setup - Instructions
Title
Home Inventory Setup - Instructions
Show Cancel Button
SCRIPTING
Show alert
Home Inventory Setup - Shopping list alert
Title
Home Inventory Setup - Shopping list alert
Show Cancel Button
SCRIPTING
Ask
Let’s create your main categories. There can be any number of main categories, just make sure to enter them in new lines. Emojis are allowed if you prefer them.
Input Type
Text
Default Answer
Text
TEXT
Split
Provided Input
by
New Lines
SCRIPTING
Repeat with each item in
Split Text
DOCUMENTS
Replace
Repeat Item
with
"
Repeat Item
":
in
Repeat Item
Case Sensitive
Regular Expression
SCRIPTING
Ask
Now let’s create the subcategories for each main category. There can be any number of subcategories, just - again - make sure to enter them in new lines. Emojis are allowed if you prefer them.
Repeat Item
\n
\n
Enter the subcategories for
\n
Input Type
Text
Default Answer
Text
TEXT
Split
Provided Input
by
New Lines
SCRIPTING
Repeat with each item in
Split Text
DOCUMENTS
Replace
Repeat Item 2
with
"
Repeat Item 2
":{}
in
Repeat Item 2
Case Sensitive
Regular Expression
End Repeat
TEXT
Combine
Repeat Results
with
Custom
,
End Repeat
TEXT
Combine
Repeat Results
with
Custom
,
SCRIPTING
Get dictionary from
Text
VARIABLES
Set variable
inventoryStructure
to
Dictionary
SCRIPTING
Show alert
Home Inventory Setup - Instructions II.
Title
Home Inventory Setup - Instructions II.
Show Cancel Button
SCRIPTING
Ask
Finally, enter units/measurements you’d like to use for different items. As usual, there can be any number of measurement in the list, just make sure you enter them in new lines. You’ll be able to change an item’s measurement any time you change its value (e.g. 1 kg > 500 g).
\n
You can later modify the measurement list in Data Jar, “Home Inventory” > “Measurements”.
Input Type
Text
Default Answer
Text
TEXT
Split
Provided Input
by
New Lines
SCRIPTING
Repeat with each item in
Split Text
VARIABLES
Add
Repeat Item
to
inventoryUnits
End Repeat
COMMENT
Now we have every data to create the main Home Inventory structure.
Under Construction
Under Construction
SCRIPTING
Show alert
Home Inventory Setup - Complete
Title
Home Inventory Setup - Complete
Show Cancel Button
NOTIFICATIONS
Show notification
Input
Options Under Construction

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 3 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0