Login About Gallery
PowerUtil
Accepts
App Store Apps, Articles, Contacts, Dates, Email Addresses, WFFolderContentItem, Files, Images, iTunes Products, Locations, Map Links, Media, PDFs, Phone Numbers, Rich Text, Safari Web Pages, Text and URLs
COMMENT
‎PowerUtil has been built with ❤️ by iTech Everything. You can support the creator on the following platforms: youtube.com/TheiTE twitter.com/TheOriginaliTE For more information and other shortcuts like this, visit itecheverything.com/shortcuts
DICTIONARY
SCRIPTING
‎Get the ‎System Version
MATHS
‎Round ‎System Version ‎to ‎Ones Place
Mode
‎Always Round Down
SCRIPTING
‎Get the ‎Device Model
SCRIPTING
‎If ‎Device Model ‎contains ‎Vision
NUMBER
‎1
VARIABLES
‎Set variable ‎isVision ‎to ‎True
SCRIPTING
‎Otherwise
DICTIONARY
SCRIPTING
‎Get ‎Value ‎for ‎Rounded Number ‎in ‎Dictionary
SCRIPTING
‎End If
SCRIPTING
‎If ‎Shortcut Input ‎has any value
SCRIPTING
‎If ‎Shortcut Input ‎contains ‎log-aggregated
TEXT
‎log-aggregated
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Shortcut Input ‎contains ‎Analytics
TEXT
‎Analytics
SCRIPTING
‎Otherwise
MISSING
‎output Under Construction
SCRIPTING
‎End If
SCRIPTING
‎End If
VARIABLES
‎Set variable ‎fileName ‎to ‎If Result
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Device Model ‎is ‎Mac
MISSING
‎output Under Construction
SCRIPTING
‎End If
SCRIPTING
‎If ‎isVision ‎is ‎<value>
SAFARI
‎Open ‎prefs:root=Privacy&path=PROBLEM_REPORTING
TEXT
‎Please click "Analytics Data" on your screen. -> Click or search for any one the ‎Required File ‎ file(s). -> Click Share on the top right -> Click PowerUtil If you have "Share ‎VAR ‎ Analytics" disabled or have the ‎Required File ‎ file missing, you will need to enable them and wait for at least 24 hours.
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Rounded Number ‎is greater than or equal to ‎15
SAFARI
‎Open ‎prefs:root=Privacy&path=PROBLEM_REPORTING
TEXT
‎Please click "Analytics Data" on your screen. -> Click or search for any one the ‎Required File ‎ file(s). -> Click Share on the top right -> Click PowerUtil If you have "Share ‎VAR ‎ Analytics" disabled or have the ‎Required File ‎ file missing, you will need to enable them and wait for at least 24 hours.
SCRIPTING
‎Otherwise
SCRIPTING
‎Open ‎com.apple.Preferences
TEXT
‎Please go to Privacy -> Analytics & Improvements and click "Analytics Data" on your screen. -> Click or search for any one the ‎Required File ‎ file(s). -> Click Share on the top right -> Click PowerUtil If you have "Share ‎VAR ‎ Analytics" disabled or have the ‎Required File ‎ file missing, you will need to enable them and wait for at least 24 hours.
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎Choose from Menu
SCRIPTING
‎Watch Tutorial
SAFARI
‎Show web page at ‎https://youtu.be/uQ_0l5pi7ro
Enter Safari Reader
SCRIPTING
‎Dismiss
SCRIPTING
‎End Menu
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎End If
SCRIPTING
‎Set name of ‎Shortcut Input ‎to ‎analytics.txt
DOCUMENTS
‎Get text from ‎Renamed Item
TEXT
‎Match ‎"last_value_AlgoChemID":[^\n]*\n ‎in ‎Log-Aggregated
Case Sensitive
SCRIPTING
‎If ‎Analytics ‎has any value
TEXT
‎Split ‎Analytics ‎by ‎New Lines
SCRIPTING
‎Get ‎Last Item ‎from ‎Split Text
TEXT
‎Split ‎Item from List ‎by ‎Custom ‎}
SCRIPTING
‎Get ‎First Item ‎from ‎Split Text
TEXT
‎{ ‎Item from List ‎}
SCRIPTING
‎Otherwise
DOCUMENTS
‎Get text from ‎Renamed Item
SCRIPTING
‎End If
VARIABLES
‎Set variable ‎AnalyticsFile ‎to ‎If Result
DICTIONARY
SCRIPTING
‎If ‎Dictionary ‎contains ‎Rounded Number
SCRIPTING
‎Get ‎Value ‎for ‎Rounded Number ‎in ‎Dictionary
SCRIPTING
‎Otherwise
TEXT
‎NominalChargeCapacity
SCRIPTING
‎End If
DICTIONARY
VARIABLES
‎Set variable ‎Analytics ‎to ‎Dictionary
DICTIONARY
SCRIPTING
‎Get ‎Value ‎for ‎fileName ‎in ‎Dictionary
SCRIPTING
‎Get dictionary from ‎Corresponding Dictionary
SCRIPTING
‎Get ‎All Keys ‎in ‎Dictionary
SCRIPTING
‎Repeat with each item in ‎Dictionary Value
SCRIPTING
‎Get ‎Value ‎for ‎Repeat Item ‎in ‎Corresponding Dictionary
SCRIPTING
‎If ‎fileName ‎is ‎Analytics
SCRIPTING
‎Get ‎Value ‎for ‎Required Key ‎in ‎AnalyticsFile
SCRIPTING
‎Get numbers from ‎Dictionary Value
SCRIPTING
‎Get ‎First Item ‎from ‎Numbers
SCRIPTING
‎Otherwise
TEXT
‎Match ‎(?<= ‎Required Key ‎<\/key>).*\n.*.\d+ ‎in ‎AnalyticsFile
Case Sensitive
TEXT
‎Match ‎\d+ ‎in ‎Matches
Case Sensitive
SCRIPTING
‎End If
SCRIPTING
‎Get ‎First Item ‎from ‎If Result
SCRIPTING
‎If ‎Item from List ‎has any value
SCRIPTING
‎Set ‎Repeat Item ‎to ‎Item from List ‎in ‎Dictionary
VARIABLES
‎Set variable ‎Analytics ‎to ‎Dictionary
SCRIPTING
‎End If
SCRIPTING
‎End Repeat
VARIABLES
‎Set variable ‎maximumCapacity ‎to ‎Analytics
VARIABLES
‎Set variable ‎averageTemperature ‎to ‎Analytics
VARIABLES
‎Set variable ‎cycleCount ‎to ‎Analytics
VARIABLES
‎Set variable ‎AvailableMax ‎to ‎Analytics
VARIABLES
‎Set variable ‎OriginalMax ‎to ‎Analytics
SCRIPTING
‎If ‎OriginalMax ‎is not ‎0
MISSING
‎calculateexpression Under Construction
MATHS
‎Format ‎Calculation Result ‎to ‎2 decimal places
SCRIPTING
‎If ‎Formatted Number ‎is greater than ‎100
NUMBER
‎100
SCRIPTING
‎End If
VARIABLES
‎Set variable ‎PowerUtilCalculatedBatteryHealth ‎to ‎If Result
TEXT
‎<spacer type="block" width="50" /> <h4>PowerUtil Calculated Battery Health</h4> <p2> ‎PowerUtilCalculatedBatteryHealth ‎%<p2> <p>This is a measure of your current battery capacity compared to the battery capacity (in mAh) that Apple lists on their website.</p>

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 8 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

62 more actions