10 oct. 2018
danielbahl
Well-Crafted - Thanks for sharing 😎
Get local and remote IP for your iPhone or iPad with this awesome Shortcut
Get local and remote IP for your iPhone or iPad with this awesome Shortcut.
First release
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)
}
Well-Crafted - Thanks for sharing 😎
Avis et guides sur iDevice Informant
Mac
A Bloomberg report says Apple plans a first wave in February or March, with a second batch of iPhone Air and iPad hardware following a little later.
Siri & AI
App Store screenshots show Apple's own apps on the iPhone Duo, with sidebars, split views, a vertical dock and a Siri app that tiles conversations. Launch is October 23.