Untitled
Anonymous
plain_text
08/14/2024 12:44 PM
424 B
16
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