COMMENT
ShowLive Shortcut by SeanKly
**********************************
Additional thanks for their help and contribution:
*Antonio Bueno
*JCRock5
Thanks to everyone who contributed weather icons, weather walls, overlays and other stuff!
And especially the ‘Show Team’…
Jenny, Craig, David, Chris, Monica, Laurent (Thankyou to each one of you)
To all the other beta testers, Thanks!
🙏🏻
TEXT
1.0

Text
VARIABLES
Set variable
Version
to
Text
TEXT
400

Text
VARIABLES
Set variable
XVar
to
Text
URL
data:text/html,<script>document.write(JSON.stringify({width:(window.screen.width * window.devicePixelRatio),height:(window.screen.height * window.devicePixelRatio),system_language:(navigator.language)}))</script>

URL
SAFARI
Get contents of web page at
URL

Contents of Web Page
DOCUMENTS
Get text from
Contents of Web Page

Text
SCRIPTING
Get
Value
for
width
in
json

Dictionary Value
VARIABLES
Set variable
Device_Width
to
Dictionary Value
SCRIPTING
Get
Value
for
height
in
json

Dictionary Value
VARIABLES
Set variable
Device_Height
to
Dictionary Value
TEXT
1284

Text
VARIABLES
Set variable
Canvas_Width
to
Text
TEXT
2778

Text
VARIABLES
Set variable
Canvas_Height
to
Text
COMMENT
Check iCloud for existing config.json.
if it doesn’t exist create the folder and default config.json file
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
TEXT
<!-- code generated with ScreenKit by alombi (© alombi 2020)-->
<html>
<head>
<title>Welcome</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
b{
color:#58a4d6;
}
body {
background-color:#262626;
color:#F1F1F1;
text-align: center;
font-family: system-ui;
padding: 5%;
margin:auto;
max-width: 650px;
overflow-x: hidden;
}
p{
font-size: 20px;
}
h1{
font-size:45px;
font-weight:800;
color: 58a4d6;
}
.alt{
font-weight:400;
}
h2{
font-size: 25px;
font-weight:300;
margin-top:-38;
}
h4{
font-size: 25px;
font-weight:300;
}
h3{
font-size: 24px;
font-weight:600;
color:#be76bf;
}
p {
color: #AAAAAA;
}
}
</style>
<body>
<h1>ShowLive</h1>
<h2>by SeanKly</h2>
<h4>Theme your Homescreen</h4></p>
<p>Tap on <b>Done</b> to start.</p>
<p><br><br><b>Instructions:</b><br><b>1.</b> Next you will be asked for your Username<br><b>2.</b> Then choose a great Wallpaper.<br><b>3.</b> Choose a pre-made theme config.json or create your own masterpiece!.<br><br><br><br>Thanks:</p>
<p style="font-size: 14px;">A very special thanks to<br>"The Show Team"<br></p>
</body>
</html>

Text
DOCUMENTS
Make rich text from
Text

Rich Text from HTML
DOCUMENTS
Show
Rich Text from HTML
in Quick Look
SCRIPTING
Ask
What username would you like to use? This username will be used in elements like “Good Afternoon ‘Username’”

Provided Input
VARIABLES
Set variable
Username_Input
to
Provided Input
DOCUMENTS
TEXT
{
"screen": {
"set": "hs"
},
"batcir": {
"enabled": 0,
"fill": "242424",
"stroke": 10,
"strokecolour": "08252e",
"barwidth": 6,
"barcolour": "2eabd1",
"size": 175,
"x": 942,
"y": 2010
},
"batbar": {
"enabled": 1,
"name": "batbar2",
"height": 6,
"x": 397,
"y": 1772,
"width": 488
},
"dock": {
"enabled": 0,
"name": "sk5",
"x": 0,
"y": 0
},
"notch": {
"enabled": 0,
"name": "sea1",
"x": 0,
"y": 0
},
"theme": {
"enabled": 1,
"name": "smj1"
},
"widget": {
"enabled": 0,
"name": "swa2",
"x": 0,
"y": 0
},
"weathericon": {
"enabled": 1,
"style": "SK1",
"width": 90,
"height": 90,
"x": 597,
"y": 2200
},
"weathericon+1": {
"enabled": 1,
"style": "SWA101",
"width": 110,
"height": 110,
"x": 150,
"y": 1849
},
"weathericon+2": {
"enabled": 1,
"style": "SWA101",
"width": 110,
"height": 110,
"x": 150,
"y": 2014
},
"weathericon+3": {
"enabled": 1,
"style": "SWA101",
"width": 110,
"height": 110,
"x": 150,
"y": 2185
},
"weather_walls": {
"enabled": 0,
"name": "WWalls_MoneOverlays"
},
"blur": {
"enabled": 1,
"overlay": 2,
"ol_opacity": 20,
"strength": 20,
"cornerradius": 100,
"width": 180,
"height": 518,
"x": 551,
"y": 1814
},
"effects": {
"enabled": 0,
"name": "crosses"
},
"effects2": {
"enabled": 0,
"name": "4x4shadow2"
},
"effects3": {
"enabled": 1,
"name": "dk5",
"y": -425
},
"overlay": {
"enabled": 0,
"name": "fold"
},
"theme_external": {
"enabled": 0,
"name": "none"
},
"battext": {
"enabled": 1,
"fontstyle": "DINCondensed-Bold",
"colour": "0c0c0c",
"size": 60,
"align": "center",
"x": 250,
"y": 1590,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1,
"%symbol": 1,
"text": ""
},
"tod_greeting": {
"enabled": 1,
"fontstyle": "AppleSDGothicNeo-Regular",
"kern": "",
"prelabel": "Good",
"colour": "ffffff",
"size": 50,
"align": "left",
"user": 0,
"x": 370,
"y": 2185,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"tod_greeting2": {
"enabled": 0,
"style": "5",
"scale": 800,
"x": 250,
"y": 1875
},
"username": {
"enabled": 0,
"name": "
Username_Input
",
"fontstyle": "Courier",
"kern": "",
"colour": "ffffff",
"size": 35,
"align": "center",
"x": 700,
"y": 2285,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"lastupdate": {
"enabled": 1,
"prelabel": "Refreshed: ",
"fontstyle": "AppleSDGothicNeo-light",
"kern": "",
"colour": "#9e9e9e",
"size": 40,
"align": "left",
"x": 370,
"y": 2250,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"date": {
"enabled": 0,
"format": "EEEE, MMM dd, yyyy",
"uppercase": 1,
"kern": "",
"fontstyle": "Courier",
"colour": "ffffff",
"size": 35,
"align": "center",
"x": 20,
"y": 700,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"date_day": {
"enabled": 1,
"tod_enabled": 0,
"prelabel": "",
"format": "EEEE",
"kern": "",
"uppercase": 0,
"fontstyle": "AppleSDGothicNeo-light",
"colour": "9e9e9e",
"size": 40,
"align": "left",
"x": 370,
"y": 1910,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"date_cardinal": {
"enabled": 1,
"prelabel": "",
"postlabel": "",
"kern": "",
"uppercase": 0,
"fontstyle": "AppleSDGothicNeo-light",
"colour": "9e9e9e",
"size": 40,
"align": "left",
"x": 370,
"y": 1960,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"date_num": {
"enabled": 1,
"format": "dd",
"ordinal": 0,
"prelabel": "",
"postlabel": "",
"fontstyle": "DINCondensed-Bold",
"kern": "",
"colour": "ffffff",
"size": 60,
"align": "center",
"x": 240,
"y": 1865,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"date_month": {
"enabled": 1,
"format": "MMMM",
"uppercase": 0,
"kern": "",
"fontstyle": "AppleSDGothicNeo-Regular",
"colour": "ffffff",
"size": 50,
"align": "left",
"x": 370,
"y": 1850,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"weather_desc": {
"enabled": 1,
"format": 1,
"prelabel": "",
"postlabel": "",
"uppercase": 0,
"kern": "",
"colour": "ffffff",
"size": 50,
"align": "right",
"x": 125,
"y": 2010,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1,
"fontstyle": "AppleSDGothicNeo-Regular",
"size2": 30,
"y2": 0
},
"weather_temp_condition": {
"enabled": 0,
"format": 1,
"uppercase": 0,
"prelabel": "pre",
"postlabel": "post",
"kern": " ",
"fontstyle": "DINCondensed-Bold",
"colour": "ffffff",
"size": 70,
"align": "center",
"seperator": "-",
"x": 250,
"y": 2260,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"weather_temp": {
"enabled": 1,
"format": 1,
"prelabel": "",
"postlabel": "°",
"fontstyle": "DINCondensed-Bold",
"colour": "ffffff",
"size": 60,
"align": "center",
"x": 245,
"y": 2032,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"weather_hi": {
"enabled": 1,
"format": 1,
"prelabel": "",
"postlabel": "°",
"fontstyle": "AppleSDGothicNeo-light",
"symbol": "↟",
"colour": "9e9e9e",
"size": 40,
"align": "right",
"x": 40,
"y": 2075,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"weather_low": {
"enabled": 1,
"format": 1,
"prelabel": "",
"postlabel": "°",
"fontstyle": "AppleSDGothicNeo-light",
"symbol": "↡",
"colour": "9e9e9e",
"size": 40,
"align": "right",
"x": 125,
"y": 2075,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"city": {
"enabled": 0,
"format": 1,
"uppercase": 1,
"fontstyle": "Courier",
"kern": "",
"colour": "ffffff",
"size": 35,
"align": "center",
"x": 20,
"y": 1600,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
},
"cal_events": {
"enabled": 0,
"format": "notif14",
"fontstyle": "DINCondensed-Bold",
"colour": "242424",
"fontsize": 135,
"scale": 125,
"align": "center",
"x": 1060,
"y": 2180,
"shadowcolour": "black",
"shadowblur": 0,
"shadowx": 0,
"shadowy": 0,
"alpha": 1
}
}

Text
SCRIPTING
Set name of
Text
to
config.json

Renamed Item
DOCUMENTS
Save
Renamed Item
Destination Path
/Shortcuts/TextOverwrite If File Exists

Saved File
SCRIPTING
Show alert
Please be patient!
NETWORK
Get contents of
https://m.box.com/file/886974982458/download?shared_link=https%3A%2F%2Fapp.box.com%2Fs%2Fyjaqfujfpgz0bhvo5ak6nnw60mmwmczw
Options Under Construction

Contents of URL
DOCUMENTS
Create Folder
Path
/Shortcuts/ShowLive_Assets
DOCUMENTS
Extract
Contents of URL

Files
DOCUMENTS
Save
Files
Destination Path
/Shortcuts/TextOverwrite If File Exists

Saved File
SCRIPTING
End If

If Result
MISSING
folder Under Construction
DOCUMENTS

File
SCRIPTING
Get dictionary from
File

Dictionary
VARIABLES
Set variable
JSON_Dictionary
to
Dictionary
COMMENT
******************************
Get JSON dictionary values and set variables
iOS 15.1 broke getting text from dictionary value so I had to add an extra step (get text from) each time.
******************************
COMMENT
weather icon +1
SCRIPTING
Get
Value
for
weathericon+1.enabled
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_Enabled
to
Text
SCRIPTING
Get
Value
for
weathericon+1.style
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_Style
to
Text
SCRIPTING
Get
Value
for
weathericon+1.width
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_Width
to
Text
SCRIPTING
Get
Value
for
weathericon+1.height
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_Height
to
Text
SCRIPTING
Get
Value
for
weathericon+1.x
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_X
to
Text
SCRIPTING
Get
Value
for
weathericon+1.y
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+1_Y
to
Text
COMMENT
weather icon +2
SCRIPTING
Get
Value
for
weathericon+2.enabled
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_Enabled
to
Text
SCRIPTING
Get
Value
for
weathericon+2.style
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_Style
to
Text
SCRIPTING
Get
Value
for
weathericon+2.width
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_Width
to
Text
SCRIPTING
Get
Value
for
weathericon+2.height
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_Height
to
Text
SCRIPTING
Get
Value
for
weathericon+2.x
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_X
to
Text
SCRIPTING
Get
Value
for
weathericon+2.y
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+2_Y
to
Text
COMMENT
weather icon +3
SCRIPTING
Get
Value
for
weathericon+3.enabled
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_Enabled
to
Text
SCRIPTING
Get
Value
for
weathericon+3.style
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_Style
to
Text
SCRIPTING
Get
Value
for
weathericon+3.width
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_Width
to
Text
SCRIPTING
Get
Value
for
weathericon+3.height
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_Height
to
Text
SCRIPTING
Get
Value
for
weathericon+3.x
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_X
to
Text
SCRIPTING
Get
Value
for
weathericon+3.y
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherIcon+3_Y
to
Text
COMMENT
weather walls
SCRIPTING
Get
Value
for
weather_walls.enabled
in
JSON_Dictionary

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
VARIABLES
Set variable
WeatherWalls_Enabled
to
Text