Make SpringBoard Shortcut
COMMENT
How to create a shortcut to go back to the home screen
- @supermamon
COMMENT
Step 1: Create another shortcut that only has 1 action, Open App [Notes]. Name it, "Open Notes"
Step 2: Run this shortcut
SHORTCUTS
Get my shortcuts

My Shortcuts
FILES
Filter
My Shortcuts
where
[{'class': 'filter-property', 'value': 'Name'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'Open Notes'}]

Files
SCRIPTING
If
Files
does not have any value
SCRIPTING
Show
"Open Notes" shortcut does not exist.
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
COMMENT
set the name with a .plist extension to be able to get the "source code" of the shortcut
SCRIPTING
Set name of
Files
to
SpringBoard.plist

Renamed Item
COMMENT
then change the `mobilenotes` to `springboard`
DOCUMENTS
Replace
mobilenotes
with
springboard
in
Renamed Item

Updated Text
COMMENT
name it back to .shortcut
SCRIPTING
Set name of
Updated Text
to
SpringBoard.shortcut

Renamed Item
COMMENT
create an iCloud link and download the shortcut
DOCUMENTS
Get link to
Renamed Item

Link to File
SAFARI
Open
Link to File
Showcuts