Of course, this would not be necessary if the folder names ended with a slash.
Unfortunately, answer folder returns a path without a trailing slash, so you
have to touch the file system for every item in the list. For a long list I
imagine that is a lot of overhead. An alternative might be to as
Thank you all for your help!
Richard.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Richard, here is what I use.
On the UI I have addition button
1) get files only
2) Go to web page (working a mirror of there we site locally_)
This script in a field.
on dragEnter
set the acceptDrop to true
end dragEnter
on dragDrop
put dragData["files"] into me
getList
end dragD
when you set the dragaction, it doesn't actually DO the action.. All it
really does is a) set the prompt to the action you intend to do, and b)
send that info back to the source of the dragdrop. (not positive about that
second part)
So, if you have a button as the destination for your drag drop,
Hello list,
I´m looking for a solution to get the path to a Folder by dragdropping it into
my (macOS)app without that the whole Folder is copied in the drgdrop-process.
Is there a solution?
Thank you in advance,
Richard..
___
use-livecode mailin