ShareShortcuts

Network Tool

This command allows you to test or view information about a Wi-Fi network

misharo
„Network Tool“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit misharo die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
2K
Gesichert
0
Aktionen
74
Kategorie
API
Version
1.0
Sprache
EN

This command allows you to test or view information about a Wi-Fi network.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 25. Sep 2026

First release

Was er macht

74 Aktionen
  1. Comment
    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 y…
  2. Get Network Details
  3. Add to Variable
  4. Count
  5. If
  6. Choose from Menu
    What do you want to inspect?
  7. Choose from Menu
    Show information about Wi-Fi
  8. Get Network Details
  9. Count
  10. Get IP Address
  11. Set Variable
    Internal
  12. Get IP Address
  13. Set Variable
    Externe
  14. Show Alert
    Wi-Fi information
  15. Choose from Menu
    Do a Speed test
  16. URL
    https://fast.com
  17. Show Web Page
  18. Choose from Menu
    Test ping
  19. Repeat
  20. Date
  21. Set Variable
    Start
  22. Text
  23. Get URL Headers
  24. Get Time Between Dates
  25. Add to Variable
  26. Calculate Statistics
  27. Comment
    Invert sign, translate to milliseconds, divide by 2 the latency
  28. Calculate
  29. Round Number
  30. Show Alert
    Ping google.com
  31. Choose from Menu
    Advanced information lookup
  32. URL
    https://extreme-ip-lookup.com/json/
  33. Get Contents of URL
    …
  34. Set Variable
    Information
  35. Get Dictionary Value
  36. Set Variable
    City
  37. Text
  38. Get Dictionary Value
  39. Set Variable
    Serviceprov
  40. Get Dictionary Value
  41. Set Variable
    Reg
  42. Get Dictionary Value
  43. Set Variable
    Org
  44. Get Dictionary Value
  45. Set Variable
    Country
  46. Get Dictionary Value
  47. Set Variable
    IPname
  48. Get IP Address
  49. Get Variable
  50. Show Alert
    Remote lookup
  51. Choose from Menu
    Physical IP location (Map)
  52. URL
    https://extreme-ip-lookup.com/json/
  53. Get Contents of URL
    …
  54. Set Variable
    Dump
  55. Get Dictionary Value
  56. Set Variable
    Lat
  57. Get Dictionary Value
  58. Set Variable
    Lon
  59. Text
  60. Combine Text
  61. Show in Maps
  62. Choose from Menu
    Share my Wi-Fi via QR code
  63. Get Network Details
  64. Add to Variable
  65. Ask for Input
    What's the WiFi Password for …
  66. Text
  67. Set Variable
    Password
  68. Text
  69. Generate QR Code
  70. Quick Look
  71. If
  72. Text
  73. Show Alert
    …, We have a problem
  74. Stop This Shortcut

Als Code ansehen
Beta

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

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung