Untitled

 avatar
unknown
plain_text
a year ago
317 B
4
Indexable
#!/bin/bash

# This shell script runs an AppleScript using osascript

osascript <<EOF
tell application "Apple Configurator"
    set deviceList to every device
    if (count of deviceList) > 0 then
        display dialog "Device connected"
    else
        display dialog "No device connected"
    end if
end tell
EOF
Editor is loading...
Leave a Comment