Re: Notifications when iPods are mounted...
Re: Notifications when iPods are mounted...
- Subject: Re: Notifications when iPods are mounted...
- From: Craig Dooley <email@hidden>
- Date: Fri, 13 Jan 2006 09:04:56 -0500
You can also subscribe to the NSWorkspace notification
NSWorkspaceDidMountNotification to see when new devices are plugged
in.
-Craig
On 1/12/06, Eamon Ford <email@hidden> wrote:
> (Oops, forgot to send it to the whole list.)
>
> You can detect if an iPod is mounted by calling -[NSWorkspace
> mountedRemovableMedia], and then check for an iPod_Control directory
> in each volume.
>
>
> On Jan 12, 2006, at 8:13 PM, email@hidden wrote:
>
> > Hi all,
> >
> > We're wondering, is there an API that I can use that will inform my
> > programs about when an iPod ismounted on the file system? Note I'm
> > not talking about launching iTunes or
> > anything like that.... Ijust want to be informed of when iPods are
> > connected and mounted. After
> > that there are all kinds ofthings I could do like probe the iPod
> > for information and maybe sift
> > through the contents formetadata.
> >
> > Thanks!
> >
> > -- John
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Cocoa-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
-----------------------------------------------------------------------
Craig Dooley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden