Accepts
App Store Apps, Articles, Contacts, Dates, Email Addresses, Files, Images, iTunes Products, Locations, Map Links, Media, PDFs, Phone Numbers, Rich Text, Safari Web Pages, Text and URLs
COMMENT
What's new in v4.6.1:
• Added "Switch to iUtilities Lite" button. Get iUtilities Lite now: https://chr15.tk/lite
COMMENT
iUtilities by ChrisChan
© 2020 ChrisChan ALL RIGHTS RESERVED
COMMENT
RENAMING THE SHORTCUT IS NOT RECOMMENDED. CHANGE THE NAME IN THE DICTIONARY BELOW (NAME SECTION) IF YOU CHANGED THE SHORTCUT'S NAME
If You are Running into Problems with iUtilities, please contact us (Contact informations could be found on https://routinehub.co/shortcut/1731
Are You Running into Problems while Setting Up iUtilities? Download iUtilities Safe Setup at https://routinehub.co/shortcut/4893
DICTIONARY

Dictionary
COMMENT
Editing the version number by yourself will cause iUtilities stop working due to it's show what's new feature
VARIABLES
Set variable
Shortcut Details
to
Dictionary
VARIABLES
Set variable
Shortcut Name
to
Shortcut Details
VARIABLES
Set variable
Version
to
Version
DICTIONARY

Dictionary
VARIABLES
Set variable
Data
to
Dictionary
VARIABLES
Set variable
Rerun
to
Rerun
VARIABLES
Set variable
Back Arrow
to
Back Arrow
VARIABLES
Set variable
Path
to
Path
VARIABLES
Set variable
Changes
to
Changes
VARIABLES
Set variable
Icons
to
Icons
SCRIPTING
Decode
Icons
with base64

Base64 Encoded
VARIABLES
Set variable
Notification Icon
to
Base64 Encoded
TEXT
iUtilities
——————————————

Text
VARIABLES
Set variable
Ask For Input Title
to
Text
DOCUMENTS
Create Folder
Path
[{'value': '/Shortcuts/', 'class': 'text'}, {'class': 'magic', 'value': 'Path', 'glyph': 'assets/cat/Variable.svg', 'UUID': ''}]
TEXT
Dev Mode

Text
TEXT
Shortcut Input

Text
SCRIPTING
If
Text
is not
resetup
TEXT
iUtilities Was Rebuilt From Scratch in Version 4.0, Therefore Many Things are Changed, Such as Settings, Menus and Much More! You'll be Prompt to Setup Again.

Text
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
TEXT
File

Text
SCRIPTING
If
Text
is not
4
SCRIPTING
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
DOCUMENTS
TEXT
resetup

Text
SHORTCUTS
Run
Shortcut Name

Shortcut Result
SCRIPTING
End If

If Result
SCRIPTING
End If

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

File
SCRIPTING
If
File
has any value
SCRIPTING
Show alert
Shortcut Name
Title
[{'class': 'magic', 'value': 'Shortcut Name', 'glyph': 'assets/cat/Variable.svg', 'UUID': ''}]
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
DOCUMENTS
SHORTCUTS
Run
Shortcut Name
Input
Rerun

Shortcut Result
SCRIPTING
End If

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

File
SCRIPTING
If
File
does not have any value
TEXT
<!--Please Don't Copy this Code without Permissions-->
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Welcome to iUtilities</title>
<style>
body {
font-family: system-ui;
margin-left: auto;
margin-right: auto;
padding: 5%;
max-width: 650px;
}
p{
font-size:20px;
color:black;
font-weight:300;
}
h1{
font-size:45px;
font-weight:900;
color:#678cc0;
text-align: center;
.welcome{
font-size:45px;
font-weight:900;
color:#000000;
text-align: center;
}
.sub {
font-weight:200;
font-size:35px;
margin-top:-40;
color:black;
}
h2{
font-weight:700;
font-size:35px;
color:black;
}
b{
color:#007AFF;
}
* { color: #333; }
@media (prefers-color-scheme: dark) {
body {
background-color: #fff;
color: black;
}
}
#transaction {
background-color: #191919;
box-shadow: none;
}
p {
color: #AAAAAA;
}
h2{
color:white;
}
}
</style>
<body>
<h1> Welcome to iUtilities!</h1>
<p>Hello and Welcome to iUtilities! Thanks for Downloading iUtilities and Giving it a Try!</p>
<p>iUtilities is a Shortcut Packed Many Features and Utilities. The aim of iUtilities is to Implement more Utilities so you don't need to download any other shortcuts for a Single Utility.<br><br>
Enjoy iUtilities!</p>
</body>
</html>

Text
DOCUMENTS
Make rich text from
Text

Rich Text from HTML
SAFARI
Show web page at
Rich Text from HTML
TEXT
Setup 1/4
iUtilities Will Need Permissions, Please Allow them to make it Work.
If You Want to Check why we needed to Access these, Visit Our Page on RoutineHub

Text
TEXT
BEGIN:VCARD
VERSION:3.0
N;CHARSET=utf-8:I Agree;;;;
ORG;CHARSET=utf-8:;
PHOTO;ENCODING=b:
Icons
END:VCARD

Text
SCRIPTING
Set name of
Text
to
Permission.vcf

Renamed Item
SCRIPTING
Choose from
Renamed Item
Prompt
[{'class': 'magic', 'value': 'Text', 'glyph': '', 'UUID': '3F54C38B-DC07-43A8-A689-925D550BA8BC'}]

Chosen Item
TEXT
Setup 2/4
Would You Like to See What's New After First Running a New Version Downloaded?

Text
TEXT
BEGIN:VCARD
N:Show Me What's New
ORG:Alerts You on a New Update
PHOTO;ENCODING=b:
Icons
END:VCARDBEGIN:VCARD
VERSION:3.0
N:Don't Alert Me
ORG:No Alerts will be Shown for Updates
PHOTO;ENCODING=b:
Icons
END:VCARD

Text
SCRIPTING
Set name of
Text
to
Show Changes.vcf

Renamed Item
SCRIPTING
Choose from
Renamed Item
Prompt
[{'class': 'magic', 'value': 'Text', 'glyph': '', 'UUID': '0DE8C164-D4F3-4F79-8F04-9EC31E04A3C1'}]

Chosen Item
SCRIPTING
If
Chosen Item
is
Show Me What's New
TEXT
true

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Chosen Item
is
Don't Alert Me
TEXT
false

Text
SCRIPTING
End If

If Result
SCRIPTING
MUSIC

Music
SCRIPTING
If
Music
has any value
TEXT
true

Text
SCRIPTING
Otherwise
TEXT
false

Text
SCRIPTING
End If

If Result
TEXT
Setup 4/4
Do You Allow iUtilities to Send the Following Data (Device Model, System Version, iUtilities Preference and Time) to Author's Discord Server via a Webhook to Improve iUtilities?

Text
TEXT
BEGIN:VCARD
N:Yes
PHOTO;ENCODING=b:
Icons
END:VCARDBEGIN:VCARD
N:No
PHOTO;ENCODING=b:
Icons
END:VCARD

Text
SCRIPTING
Set name of
Text
to
Webhook.vcf

Renamed Item
SCRIPTING
Choose from
Renamed Item
Prompt
[{'class': 'magic', 'value': 'Text', 'glyph': '', 'UUID': 'D894AB59-9E98-48A7-9993-F7CFC461B67E'}]

Chosen Item
SCRIPTING
If
Chosen Item
is
Yes
TEXT
true

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Chosen Item
is
No
TEXT
false

Text
SCRIPTING
End If

If Result
TEXT
Shortcut Details

Text
DOCUMENTS
Save
Text
Destination Path
[{'value': '/Shortcuts/', 'class': 'text'}, {'class': 'magic', 'value': 'Path', 'glyph': 'assets/cat/Variable.svg', 'UUID': ''}, {'value': 'SetupVersion.txt', 'class': 'text'}]Overwrite If File Exists

Saved File
DICTIONARY

Dictionary
DOCUMENTS
Save
Dictionary
Destination Path
[{'value': '/Shortcuts/', 'class': 'text'}, {'class': 'magic', 'value': 'Path', 'glyph': 'assets/cat/Variable.svg', 'UUID': ''}, {'value': 'pref.json', 'class': 'text'}]Overwrite If File Exists

Saved File
TEXT
Setup Process Completed! Enjoy iUtilities!
Preferences is Saved at iCloud Drive > Shortcuts > iUtilities > pref.json

Text
SCRIPTING
SCRIPTING
End If

If Result
SCRIPTING
If
Text
is not
Rerun
TEXT
Shortcut Input

Text
SCRIPTING
If
Text
is
No
SCRIPTING
If
Text
does not have any value
SHORTCUTS
Run
Shortcut Name

Shortcut Result
SCRIPTING
Otherwise
DOCUMENTS
Get File
File Path
/Shortcuts/example.txt

File
SCRIPTING
Get
Value
for
Webhook
in
File

Dictionary Value
TEXT
Dictionary Value

Text
SCRIPTING
If
Text
is
1
SCRIPTING
Get the
System Version

Device Name
SCRIPTING
Get the
Device Model

Device Name
SCRIPTING
If
Device Model
is
iPhone
TEXT
iOS

Text
SCRIPTING
Otherwise
SCRIPTING
If
Device Model
is
Watch