I want to drag an icon from stacks in my app to someplace on in a file system directory, retreive the path of that location and use that information to copy a file there.
How can I get the destination outside Rev?
Thanks,
Drag OUT of Revolution?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Drag OUT of Revolution?
Alex Adams
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
I'm afraid you can't do it that way. The simplest solution is to write the file to the temp-directory and setting the dragData["files"] to the path of this temporary file. Of course, you should clean up those temporary files upon application exit.
HTH,
Jan Schenkel.
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Jan and Klaus,
I think I'll just ask the user where they want the file and put it there. I have the files stored in directories controlled by the app (later they will be in database BLOBs). They are renamed in a predictable manner when stored. I wanted to offer an option to the user to just drag and drop, but I guess not.
Thanks for your help,
I think I'll just ask the user where they want the file and put it there. I have the files stored in directories controlled by the app (later they will be in database BLOBs). They are renamed in a predictable manner when stored. I wanted to offer an option to the user to just drag and drop, but I guess not.
Thanks for your help,
Alex Adams
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013