Drag-and-Drop with Desktop Files

Bob Sneidar bobsneidar at iotecdigital.com
Tue Mar 12 11:46:41 EDT 2019


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.





More information about the use-livecode mailing list