ShareShortcuts

Wifi Info Giver Test! V2.0!

unknown-user
Bifurcar “Wifi Info Giver Test! V2.0!”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que unknown-user reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
42K
Guardado
0
Acciones
37
Categoría
API
Versión
1.0
Idioma
EN

…

Novedades

Versión 1.0

First release

Historial de versiones
1.0 20 de abr. de 2022

First release

Qué hace

37 acciones
  1. Get Network Details
  2. If
  3. Show Alert
    WARNING! THERE NO WIFI DETECTED!
  4. Stop This Shortcut
  5. If
  6. Choose from Menu
    Choose One Please!!!!!!!!!!!!!!!!!!!!!
  7. Choose from Menu
    Ping Wifi!
  8. Repeat
  9. Date
  10. Set Variable
    Start
  11. Text
  12. Get URL Headers
  13. Get Time Between Dates
  14. Add to Variable
  15. Calculate Statistics
  16. Comment
    Invert sign, translate to milliseconds, divide by 2 the latency
  17. Calculate
  18. Round Number
  19. Show Alert
    Ping google.com
  20. Choose from Menu
    Speed Test Wifi!
  21. Show Web Page
  22. Choose from Menu
    Show Wifi Info!
  23. Get Network Details
  24. Count
  25. Get IP Address
  26. Set Variable
    Internal
  27. Get IP Address
  28. Set Variable
    Externe
  29. Show Alert
    Wi-Fi information
  30. Choose from Menu
    Share my Wi-Fi via QR code!
  31. Get Network Details
  32. Add to Variable
  33. Text
  34. Set Variable
    Password
  35. Text
  36. Generate QR Code
  37. Quick Look

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#include 'actions/web'
#include 'actions/network'
#define color red
#define glyph alertTriangle

const NetworkDetails = getCellularDetail("")

if !NetworkDetails {
	alert("WARNING! THERE NO WIFI DETECTED!", "WARNING! THERE NO WIFI DETECTED!")
	stop()
} else {
}

menu "Choose One Please!!!!!!!!!!!!!!!!!!!!!" {
item "Ping Wifi!":
	repeat _ for 5 {
		currentDate()
		@Start
		getURLHeaders()
		rawAction("is.workflow.actions.gettimebetweendates", {
			"WFInput": "{@Start}",
			"WFTimeUntilFromDate": "{CurrentDate}",
			"WFTimeUntilUnit": "Total Time"
		})
		@Times
	}
	const Average = statistic("Average", nil)
	// Invert sign, translate to milliseconds, divide by 2 the latency

	const CalculationResult = Average * -500
	ceil(CalculationResult, "Ones Place")
	alert("5 attempts took an average of {} milliseconds", "Ping google.com")
item "Speed Test Wifi!":
	showWebpage("https://www.speedtest.net/")
item "Show Wifi Info!":
	const NetworkDetails1 = getWifiDetail("")
	count(NetworkDetails1, "Characters")
	getExternalIP()
	@Internal
	getExternalIP()
	@Externe
	alert("Here's what you wanted to know\n( {NetworkDetails1} ):\n\nInternal IP: {@Internal}\nExternal IP: {@Externe}", "Wi-Fi information")
item "Share my Wi-Fi via QR code!":
	getWifiDetail("")
	@SSID
	@Password = "Add Wi-Fi password In This Text!{Ask}"
	const QRCode = makeQRCode(, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
	quicklook(QRCode)
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de unknown-user

Ver todo

También te puede gustar

Ver todo
Publicidad