ShareShortcuts

iDevice Informant

Get local and remote IP for your iPhone or iPad with this awesome Shortcut

Dupliquer « iDevice Informant »

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 le créateur d’origine 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
75K
Enregistré
1
Actions
46
Catégorie
Utilities
Version
1.0
Langue
EN

Aperçu

Get local and remote IP for your iPhone or iPad with this awesome Shortcut.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 6 oct. 2018

First release

Ce qu’il fait

46 actions
  1. Comment
    Created by @esaruoho (/u/esaruoho)
  2. Get Battery Level
  3. Get Device Details
  4. Set Variable
    deviceName
  5. Get Device Details
  6. Calculate
  7. Round Number
  8. Set Variable
    currentVolume
  9. Get Device Details
  10. Calculate
  11. Round Number
  12. Set Variable
    currentBrightness
  13. Get Device Details
  14. Set Variable
    systemVersion
  15. Get Device Details
  16. Calculate
  17. Set Variable
    screenWidth
  18. Get Device Details
  19. Calculate
  20. Set Variable
    screenHeight
  21. Get Device Details
  22. Set Variable
    deviceModel
  23. Get Network Details
  24. Set Variable
    wifiNetworkName
  25. Get Network Details
  26. Set Variable
    wifiBSSID
  27. Get Network Details
  28. Set Variable
    carrierName
  29. Get Network Details
  30. Set Variable
    radioTechnology
  31. Get Network Details
  32. Set Variable
    mobileCountryCode
  33. Get IP Address
  34. Set Variable
    currentIPv4
  35. Get IP Address
  36. Get IP Address
  37. Set Variable
    externalIPv4
  38. Get IP Address
  39. Set Variable
    externalIPv6
  40. Set Variable
    currentIPv6
  41. Text
  42. Set Variable
    informantResults
  43. Show Alert
    iDevice Informant
  44. Choose from Menu
  45. Choose from Menu
    Copy to Clipboard
  46. Copy to Clipboard

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/sharing'
#include 'actions/network'
#include 'actions/math'
#include 'actions/device'
#define color violet
#define glyph microscope

// Created by @esaruoho (/u/esaruoho)

getBatteryLevel()
getDeviceDetail("")
@deviceName = nil
getDeviceDetail("Current Volume")
round(0)
@currentVolume = nil
getDeviceDetail("Current Brightness")
round(0)
@currentBrightness = nil
getDeviceDetail("System Version")
@systemVersion = nil
getDeviceDetail("Screen Width")
@screenWidth = nil * 3
getDeviceDetail("Screen Height")
@screenHeight = nil * 3
getDeviceDetail("Device Model")
@deviceModel = nil
getWifiDetail("Network Name")
@wifiNetworkName = nil
getCellularDetail("")
@wifiBSSID = nil
getCellularDetail("")
@carrierName = nil
getWifiDetail("")
@radioTechnology = nil
getWifiDetail("")
@mobileCountryCode = nil
getExternalIP()
@currentIPv4 = nil
getExternalIP("IPv6")
getExternalIP()
@externalIPv4 = nil
getExternalIP()
@externalIPv6 = nil
@currentIPv6 = nil
@informantResults = "Name:  {@deviceName} ({@deviceModel})\nScreen resolution: {@screenHeight} x {@screenWidth}\n\nBattery: {}%\nVolume: {@currentVolume}%\nBrightness: {@currentBrightness}%\n\niOS version: {@systemVersion}\n\nWi-Fi Network Name: {@wifiNetworkName}\nWi-Fi BSSID: {@wifiBSSID}\nMobile Data Carrier Name: {@carrierName}\nMobile Data Radio Technology: {@radioTechnology}\nMobile Data Country Code: {@mobileCountryCode}\n\nIP:\nExternal (IPv4): {@externalIPv4}\nExternal (IPv6): {@externalIPv6}\nLocal (IPv4): {@currentIPv4}\nLocal (IPv6): {@currentIPv6}"
alert(@informantResults, "iDevice Informant")

menu nil {
item "Copy to Clipboard":
	setClipboard(nil)
}
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
10 oct. 2018
danielbahl

Well-Crafted - Thanks for sharing 😎

Publicité

Du blog

Avis et guides sur iDevice Informant

Ça pourrait aussi te plaire

Tout afficher
Publicité