2.5 drag and drop

LiangTyan Fui mlist at afteroffice.com
Tue Jun 3 23:51:02 EDT 2003


On 6/4/03 4:56 AM, "Alejandro Tejada" <capellan2000 at yahoo.com> wrote:

> on Tue Jun 3 05:42:00 2003
> LiangTyan Fui wrote:
> 
>> I've managed to grab files dragging from Finder
>> into MetaCard 2.5 by using the newly implemented
>> drag-and-drop. The dragData furnished with files
>> and path.
> 
> After Scott Raney implemented this, I've been
> testing other apps to check their support of
> drag and drop.
> For me, drag and drop only work on fields,
> not on cards.
> Had anyone had success draging and droping on
> a card?
> 
>> But how do I reverse the process?
>> [snip]
>> Let say I have objects in a stack, when user
>> drag one of the objects out of
>> stack and drop it into the Finder,
>> all I need is the path to the Finder
>> window and export the related files
>> (it could be png graphic).
>> Anyone done that? On Windows too?
> 
> When you drag a file from the finder you get
> a path to the file. Then to write a file to
> the finder, probably you export the image:
> 
> export image ID 9234 to
> URL "binfile:Desktop/next.png"
> 
> or a similar path...

Problem here is, I cannot just reverse the process blindly.
User will drag something from the card (or field) and drop it onto the OS
desktop (or other apps).
The new drag-and-drop doesn't provide support on this "outgoing drop" seems.

> But, How do you get the path if you are dragging
> to a folder in a removible disk or to another
> application that supports drag and drop?

Wasn't that part of my question? ;)

-- 

> Alejandro
> 
> 
> =====
> Useful sites:
> http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/
> http://lists.runrev.com/pipermail/metacard/ and /use-revolution/
> http://wiki.macitworks.com/revdocs
> http://www.google.com/advanced_search?q=site:lists.runrev.com





More information about the metacard mailing list