Mit dem iPhone scannen, um zu installieren
This command allows you to test or view information about a Wi-Fi network.
Neue Funktionen
Version 1.0
First release
Was er macht
74 Aktionen-
CommentAfter testing several different network information shortcuts, I decided to merge some of them into one that's perfect for me. Credits: Network Details by @kseverin https://shareshortcuts.com/shortcuts/105-network-details.html No more secrets from y…
-
Get Network Details
-
Add to Variable
-
Count
-
If
-
Choose from MenuWhat do you want to inspect?
-
Choose from MenuShow information about Wi-Fi
-
Get Network Details
-
Count
-
Get IP Address
-
Set VariableInternal
-
Get IP Address
-
Set VariableExterne
-
Show AlertWi-Fi information
-
Choose from MenuDo a Speed test
-
URLhttps://fast.com
-
Show Web Page
-
Choose from MenuTest ping
-
Repeat
-
Date
-
Set VariableStart
-
Text
-
Get URL Headers
-
Get Time Between Dates
-
Add to Variable
-
Calculate Statistics
-
CommentInvert sign, translate to milliseconds, divide by 2 the latency
-
Calculate
-
Round Number
-
Show AlertPing google.com
-
Choose from MenuAdvanced information lookup
-
URLhttps://extreme-ip-lookup.com/json/
-
Get Contents of URL…
-
Set VariableInformation
-
Get Dictionary Value
-
Set VariableCity
-
Text
-
Get Dictionary Value
-
Set VariableServiceprov
-
Get Dictionary Value
-
Set VariableReg
-
Get Dictionary Value
-
Set VariableOrg
-
Get Dictionary Value
-
Set VariableCountry
-
Get Dictionary Value
-
Set VariableIPname
-
Get IP Address
-
Get Variable
-
Show AlertRemote lookup
-
Choose from MenuPhysical IP location (Map)
-
URLhttps://extreme-ip-lookup.com/json/
-
Get Contents of URL…
-
Set VariableDump
-
Get Dictionary Value
-
Set VariableLat
-
Get Dictionary Value
-
Set VariableLon
-
Text
-
Combine Text
-
Show in Maps
-
Choose from MenuShare my Wi-Fi via QR code
-
Get Network Details
-
Add to Variable
-
Ask for InputWhat's the WiFi Password for …
-
Text
-
Set VariablePassword
-
Text
-
Generate QR Code
-
Quick Look
-
If
-
Text
-
Show Alert…, We have a problem
-
Stop This Shortcut
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#include 'actions/network'
#define color lightblue
#define glyph wifi
/*
After testing several different network information shortcuts, I decided to merge some of them into one that's perfect for me.
Credits:
Network Details by @kseverin
https://shareshortcuts.com/shortcuts/105-network-details.html
No more secrets from your Wi-Fi by _qweryuiop_
https://shortcutsgallery.com/shortcuts/no-more-secrets-from-your-wi-fi/
Network test by @deanlyoung
https://shareshortcuts.com/shortcuts/68-network-test.html
Network Details by Simon Stevens
https://shortcutsgallery.com/shortcuts/network-details/
*/
getCellularDetail("")
@Networkwifi
const Count = count(@Networkwifi, "Characters")
if Count > 0 {
menu "What do you want to inspect?" {
item "Show information about Wi-Fi":
const NetworkDetails = getCellularDetail("")
count(NetworkDetails, "Characters")
getExternalIP()
@Internal
getExternalIP()
@Externe
alert("Here's what you wanted to know\n({NetworkDetails}):\n\nInternal IP: {@Internal}\nExternal IP: {@Externe}", "Wi-Fi information")
item "Do a Speed test":
url("https://fast.com")
showWebpage()
item "Test ping":
repeat _ for 5 {
currentDate()
@Start
getURLHeaders()
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@Start}",
"WFTimeUntilFromDate": "{CurrentDate}",
"WFTimeUntilUnit": "Total Time"
})
@Times
}
const Average = statistic("", nil)
// Invert sign, translate to milliseconds, divide by 2 the latency
const CalculationResult = Average * -500
round(CalculationResult)
alert("5 attempts took an average of {} milliseconds", "Ping google.com")
item "Advanced information lookup":
url("https://extreme-ip-lookup.com/json/")
downloadURL()
@Information
@City = @Information['city']
const Text = "{@Information}"
@Serviceprov = Text['isp']
@Reg = @Information['region']
@Org = @Information['org']
@Country = @Information['country']
@IPname = @Information['ipName']
getExternalIP()
// TODO: Get Variable not supported: Assign variable here to '@Information'.
alert("The IP number is {}\n\nThe IP name is {@IPname}\n\nYour router {@Networkwifi}, is showing your country location as {@Country} and it's coming out of {@City} in {@Reg}.\nYour internet service provider is {@Org}.", "Remote lookup")
item "Physical IP location (Map)":
url("https://extreme-ip-lookup.com/json/")
downloadURL()
@Dump
@Lat = @Dump['lat']
@Lon = @Dump['lon']
const Text1 = "{@Lat} {@Lon}"
const CombinedText = joinText(Text1)
openInMaps(CombinedText)
item "Share my Wi-Fi via QR code":
getCellularDetail("")
@SSID
prompt("What's the WiFi Password for {@SSID} ")
@Password = "{}"
const QRCode = makeQRCode(, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
quicklook(QRCode)
}
} else {
const Name = ""
alert("Make sure you are connected to a network!", "{Name}, We have a problem")
stop()
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von misharo
Das gefällt dir vielleicht auch
Werbung