Scan med din iPhone for at installere
Forhåndsvisning
Basically Uti
Nyheder
Version 1.0
First release
Hvad den gør
86 handlinger-
CommentDO NOT CHANGE ANYTHING ALSO DON’T CHANGE THE NAME OR THIS WON’T WORK
-
CommentMade by @ArandomGuy24 for RoutineHub https://www.routinehub.co/user/ArandomGuy24 Also I used [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ] for the update system https://routinehub.co/shortcut/2672/
-
Get URLs from Input
-
Set VariableLinkShortenerInput
-
Repeat
-
Dictionary
-
Set Variableself
-
Set VariableLocalData
-
Get IP Address
-
Count
-
If
-
Show Alert
-
If
-
URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Get Contents of URL…
-
If
-
Dictionary
-
Text
-
URLdata:text/html,…
-
Get Contents of Web Page
-
If
-
If
-
If
-
Text
-
If
-
Text
-
Choose from Menu… … Update checking with [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ]
-
Choose from MenuInstall result (Version)
-
URLhttps://routinehub.co/download/…
-
Open URLs
-
Stop and Output
-
Choose from MenuLater
-
If
-
Show Alert
-
Choose from Menu
-
Choose from MenuMessage Spam
-
Ask for InputWhat do you want to spam
-
Set VariableWords
-
Ask for InputHow much times
-
Set VariableAmount
-
Select Contacts
-
Repeat
-
Send Message
-
Show NotificationSpam complete
-
Run ShortcutUtilities
-
Choose from MenuCall spam (Coming soon)
-
Run ShortcutUtilities
-
Choose from MenuLink shortener
-
If
-
Ask for InputWhat link do you want to shorten?
-
Set VariableLinkShortenerInput
-
URLhttps://shorter.tins.ml/api/new?url=…
-
Get Contents of URL…
-
Get Dictionary Value
-
Set VariableLinkShortenerLink
-
If
-
Get Contents of URL…
-
Get Dictionary Value
-
Set VariableLinkShortenerStatus
-
Show Alert
-
Run ShortcutUtilities
-
If
-
Choose from MenuSuccess …
-
Choose from MenuSave to clipboard
-
Copy to Clipboard
-
Show NotificationSaved
-
Run ShortcutUtilities
-
Choose from MenuOpen Secret apps
-
Choose from MenuSecret app
-
Choose from MenuXcode previews
-
Open App
-
Choose from MenuFeedBack
-
Open App
-
Stop This Shortcut
-
Choose from MenuRickroll links
-
Text
-
Quick Look
-
Run ShortcutUtilities
-
Choose from MenuUpload To Imgur
-
Select Photos
-
Imgur Upload
-
Copy to Clipboard
-
Show NotificationLink Copied To Clipboard
-
Run ShortcutUtilities
-
Choose from MenuQuit
-
Stop This Shortcut
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#define color blue
#define glyph magnifyingGlass
/*
DO NOT CHANGE ANYTHING
ALSO DON’T CHANGE THE NAME OR THIS WON’T WORK
*/
/*
Made by @ArandomGuy24 for RoutineHub
https://www.routinehub.co/user/ArandomGuy24
Also I used [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ] for the update system
https://routinehub.co/shortcut/2672/
*/
getURLs(ShortcutInput)
@LinkShortenerInput
repeat _ for nil {
@self = {
"Author": "@ArandomGuy24",
"ID": "11835",
"Name": "Utillities",
"Version": "1.7"
}
@LocalData
const CurrentIPAddress = getExternalIP()
const Count = count(CurrentIPAddress)
if Count == 0 {
confirm("[Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ] Could not check for updates, there is no internet connection.")
} else {
url("https://routinehub.co/api/v1/shortcuts/{@LocalData['ID']}/versions/latest")
const result = downloadURL()
if result contains "success" {
const CompareVersionsData = {
"current": "{@LocalData['Version']}",
"new": "{result['Version']}"
}
const CompareVersionsHTML = "<html><head></head><body><script>\n// Embed-a-Engine 1.0\nfunction cmp (a, b) {\nlet pa = a.split('.');\nlet pb = b.split('.');\nfor (let i = 0; i < Math.max(pa.length, pb.length); i++) {\nlet na = Number(pa[i]);\nlet nb = Number(pb[i]);\nif (isNaN(na)) na = 0;\nif (isNaN(nb)) nb = 0;\nif (na > nb) return \\"RollbackAvailable\\";\nif (nb > na) return \\"UpdateAvailable\\";\n}\nreturn \\"NoChanges\\";\n};\nlet data = {CompareVersionsData};\ndocument.write(cmp(data.current, data.new));\n</script></body></html>"
url("data:text/html,{CompareVersionsHTML}")
const ContentsOfWebPage = getWebpageContents()
if ContentsOfWebPage == "NoChanges" {
} else {
if ContentsOfWebPage == "RollbackAvailable" {
} else {
}
menu "{}\n\n{result['Notes']}\n\nUpdate checking with [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ]" {
item "Install {result['Version']}":
const URL = url("https://routinehub.co/download/{result['id']}")
openURL(URL)
output(URL)
item :
}
}
} else {
alert("Could not check for updates because of a RoutineHub error:\n\n{result['message']}", "")
}
}
}
menu nil {
item "Message Spam":
prompt("What do you want to spam", "Text")
@Words
prompt("How much times", "Number")
@Amount
const Contacts = selectContact()
repeat _ for @Amount {
sendMessage(Contacts, @Words, false)
}
showNotification("Spam complete", RepeatResults)
runSelf()
item "Call spam (Coming soon)":
runSelf()
item "Link shortener":
if !@LinkShortenerInput {
prompt("What link do you want to shorten?", "URL")
@LinkShortenerInput
}
url("https://shorter.tins.ml/api/new?url={@LinkShortenerInput}")
const ContentsOfURL = downloadURL()
@LinkShortenerLink = ContentsOfURL['short_url']
if !@LinkShortenerLink {
const ContentsOfURL1 = downloadURL(@LinkShortenerLink)
@LinkShortenerStatus = ContentsOfURL1['message']
confirm(@LinkShortenerStatus)
runSelf()
} else {
menu "Success {@LinkShortenerLink}" {
item "Save to clipboard":
setClipboard(@LinkShortenerLink)
showNotification("Saved", @LinkShortenerLink)
runSelf()
}
}
item "Open Secret apps":
menu "Secret app" {
item "Xcode previews":
openApp("com.apple.dt.XcodePreviews")
item "FeedBack":
openApp("com.apple.appleseed.FeedbackAssistant")
}
stop()
item "Rickroll links":
const Text = "https://bit.do/YeetYeet\n\nhttps://bit.ly/3shS6WA\n\nhttps://tomorrowtides.com\n\nhttps://theworldthesedays.com\n\nhttps://www.latlmes.com/breaking/breaking-news-1"
quicklook(Text)
runSelf()
item "Upload To Imgur":
const Photos = selectPhotos()
rawAction("is.workflow.actions.imgur.upload", {
"WFImgurDirectLink": true,
"WFInput": "Photos"
})
setClipboard(ImgurURLs)
showNotification("Link Copied To Clipboard", MenuResult)
runSelf()
item "Quit":
stop()
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra arandomguy24
Du vil måske også kunne lide
Annonce