Re: Safari bookmarks...
Re: Safari bookmarks...
- Subject: Re: Safari bookmarks...
- From: "arri mafkees" <email@hidden>
- Date: Sat, 9 Feb 2008 15:54:15 +0100
(retry, i first sent it offlist..)
not an answer but maybe it helps:
i once hacked the 'ClipBoard Viewer' example that's in AppKit Examples
for a similair reason. i just hooked-up a timer to the button action
to have a continyous refreshing display ...
>
>
> On Feb 6, 2008 3:27 PM, Citizen <email@hidden> wrote:
> > As documented NSURLPboardType only works with a single URL.
> > @"WebURLsWithTitlesPboardType" looks promising but does not appear to
> > have a constant or to be very well documented so my not be suitable. I
> > have not yet used it myself. but it may be worth a try.
> > For Internet Location files dragged from finder you can use
> > "NSFilenamesPboardType" to get the files, then you can scan each file
> > for the URL. You have to use Carbon to look in the files resource fork
> > data for the URL though. I don't know if URLs dragged from Safari
> > bookmarks give you a file list or not so this may be of no use!
> >
> > - Dave
> >
> > On 6 Feb 2008, at 12:23, Amit8 J wrote:
> >
> > > Hi
> > > I need a bit of help. I am working on an application where I need to
> > > catch
> > > dragged and dropped bookmarks from safari . Now when I drag and drop
> > > bookmarks more than one, all I get is the URL of the first bookmark.
> > > I am
> > > using "NSURLPboardType" and the dictionary which I get upon dragging
> > > and
> > > dropping looks like this :-
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> > > "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> > > <plist version="1.0">
> > > <array>
> > > <string>feed://rss.news.yahoo.com/rss/topstories</string>
> > > <string></string>
> > > </array>
> > > </plist>
> > >
> > > Is there some way I can get the URLs of all the dragged and dropped
> > > bookmarks .Any help would be appreciated.
> >
> > ------
> > David Kennedy (http://www.zenopolis.com)
> >
> >
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
> >
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden