ShareShortcuts

Network Tool

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

misharo
Fork “Network Tool”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så misharo får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
2K
Gemt
0
Handlinger
74
Kategori
API
Version
1.0
Sprog
EN

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

Nyheder

Version 1.0

First release

Versionshistorik
1.0 25. sep. 2026

First release

Hvad den gør

74 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
}
Å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 misharo

Se alle

Du vil måske også kunne lide

Se alle
Annonce