>> Hi Jeff,
>>
>>> Has anyone been able to get drag and drop to work out of iPhoto. I have
>>> tried acceptPicture, file and text all with no luck. I would like to add
>>> drag and drop to my program imagebuddy and will give a free copy to anyone
>>> that can help.
>>
>> Well, I'm guessing it has to do with iPhoto being a Cocoa app, and your app
>> being Carbon, they could be using different (and incompatible) drag types.
>> I'm not sure how well drag & drop currently works across the different types
>> of apps, but that would be my guess.
>>
>> I would try testing different Cocoa apps (like Omniweb) and see if they work
>> with your app, if they do, you know it's possible, otherwise I would assume
>> you're out of luck.
>
> I was thinking that cocoa drag types are simply by .4 extension...
>
> are you doing that correctly?
By using <me.AcceptFileDrop "cocoa"> with the TYPE and Creator set to ???? I
can now register the dropevent, but nothing seems to be available. With the
following code sample in dropObject I see the "Something Dropped" and it
loops all the iPhoto images I drop showing "looking at object, but all the
Folder,Picture & Text item available come up false. Is there any other type
I should check or a work around for getting a Cocoa drop event.
memo("Something Dropped")
do
memo("looking at object")
if obj.folderItemAvailable then
memo("Folder Item")
end
if obj.pictureAvailable then
memo("Picture Item")
end
if obj.TextAvailable then
memo("Text Item")
end
loop until not obj.nextItem
Any help would be greatly welcome...
Sincerely,
Jeff A. Thoman
KepMad Systems
imagebuddy at kepmad dot com
http://www.kepmad.com/
|