Re: Notification of Device Addition/Removal
Re: Notification of Device Addition/Removal
- Subject: Re: Notification of Device Addition/Removal
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 14 Nov 2001 12:24:08 -0800
On 11/13/01 6:12 PM, "Reg Cheramy" <email@hidden> wrote:
>
I'd like an applescript that can notify and take action when a new device
>
has been added to my computer.
>
>
Is there a way to know the following:
>
>
a) DVD Inserted
>
b) Audio CD Inserted
>
c) Video CD Inserted
>
d) USB Device Inserted
>
- Camera
>
- USB->Serial Interface
>
- USB Speakers
>
- Printer
>
- Etc
>
e) Firewire Device Inserted
>
- Digital Video Camera
>
- New Hard Drive (by polling the disks of Finder... yes)
>
- iPod
>
- Etc
>
>
Thanks!
>
I'm not sure what the current scripting efficacy of Apple System Profiler is
(once upon a time it gave only limited reports in AS), but give it a try.
I'll try out out soon in OS 10.1 myself: which OS are you using? (The
'limited' reports were in 8.6, maybe it's improved in OS 9.1.)
--
Paul Berkowitz