ShareShortcuts

Network Tool

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

misharo
Fazer fork de “Network Tool”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que misharo receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
2K
Salvo
0
Ações
74
Categoria
API
Versão
1.0
Idioma
EN

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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 25 de set de 2026

First release

O que ele faz

74 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de misharo

Ver tudo

Você também pode gostar

Ver tudo
Publicidade