ShareShortcuts

Network Tool

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

misharo
Dupliquer « Network Tool »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que misharo soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
2K
Enregistré
0
Actions
74
Catégorie
API
Version
1.0
Langue
EN

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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 25 sept. 2026

First release

Ce qu’il fait

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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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()
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de misharo

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité