Drag-and-Drop with Desktop Files

J. Landman Gay jacque at hyperactivesw.com
Tue Mar 12 14:17:42 EDT 2019

See the entry for dragDrop in the dictionary. You can get the file paths 
from there.

on dragDrop -- check for file paths
   get the dragData["files"]
   pass dragDrop
end dragDrop

On 3/12/19 10:46 AM, Bob Sneidar via use-livecode wrote:
> On a Mac you could just make an Applescript call to the Finder. Windows, I don't know. There is probably a powershell call that will do it.
> Bob S
>> On Mar 8, 2019, at 06:46 , R.H. via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest
>> version.
>> Drag-and-Drop on Windows works as expected. But I have another request and
>> do not know how to handle it so far.
>> The OS should know which file a user has selected. Is there are a command
>> or Shell function to know which files are selected in the Operating System
>> to receive their file path back in LiveCode without much user interaction.
>> The user shall NOT move the file as in Drag-and-Drop, but just click a
>> button to know about these selected files and folders and process them as
>> desired.
>> Speaking about Windows, only folders and files in a current folder can be
>> user-selected. So, if we had the information about the currently selected
>> folder and the selected files and folders inside, it would be a huge
>> advantage for the application I am working on.
>> Thanks for any hint if this is conceivable.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the use-livecode mailing list