[UniMacTech] computer info fields in ARD
Terry Brady
tbrady at asia.apple.com
Mon Jan 21 16:12:13 EST 2008
Hi David,
On 21/01/2008, at 2:59 PM, David Doukidis wrote:
> Does anyone know a way of reading the Computer Info #1 to #4 fields
> that are set in ARD from the command line?
The information is stored in /Library/Preferences/
com.apple.RemoteDesktop.plist in keys "Text1" through "Text4". You can
access the fields using the 'defaults' tool, among others. For example:
for LOOP in 1 2 3 4; do echo -n "Info $LOOP: "; defaults read /Library/
Preferences/com.apple.RemoteDesktop Text$LOOP; done
Cheers,
TB
--
Terry Brady
Systems Engineer
Apple
Phone: 07 3025 3345
Mobile: 0401 690 679
Email: tbrady at asia.apple.com
iChat: bradyt at mac.com
Apple Pty Ltd
Level 2, 147 Coronation Drive, Milton QLD 4064
Australia
IMPORTANT INFORMATION
________________________________________________________________________________
This correspondence is for the named person's use only. It may contain
confidential or legally privileged information or both. No
confidentiality
or privilege is waived or lost by any mistransmission. If you receive
this
correspondence in error, please immediately delete it from your system
and
notify the sender. You must not disclose, copy or rely on any part of
this
correspondence if you are not the intended recipient.
Any opinions expressed in this message are those of the individual
sender,
except where the sender expressly, and with authority, states them to be
the opinions of Apple Pty Ltd.
Neither the sender nor Apple warrants that any communication via the
Internet is free of errors, viruses, interception or interference.
Information is distributed without warranties of any kind.
________________________________________________________________________________
More information about the unimactech
mailing list