Drag-and-Drop with Desktop files

2019-03-18 Thread R.H. via use-livecode
Sub-Subject: Detecting user selected files/folders in Windows and other OSes. I like to refer to the last message from -hh (see reference below) regarding Windows possibility of detecting selected items (folders, files, icons as such) on the Windows Desktop. The solution -hh already provided when

Re: Drag-and-Drop with Desktop Files

2019-03-15 Thread Bob Sneidar via use-livecode
I'll toss together an Applescript for you when I get a chance. Bob S > On Mar 14, 2019, at 06:25 , R.H. via use-livecode > wrote: > > I am referring to: > Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh > > > Regarding MacOS I can not say much, but I use Windows, and IT

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread kee nethery via use-livecode
I had drag and drop in my macOS app but … when going with the AppStore, and sandboxing, there was no way for drag and drop to trigger the sandbox permission that would allow the app to read that file. I knew which file, but since it did not go through the dialog box, the permission wasn’t set.

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread hh via use-livecode
Hi, I use MacOS or linux (on Raspi only), never really worked with windows. I'm using Windows only to test my stacks/apps on the PC of my youngest son. Scripting Host-WScript can execute JScript, the MS-extension of ECMAScript. It has a lot of features. We probably can use a lot of these

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread R.H. via use-livecode
hh, I have one more question for Windows: Selecting a file through Microsoft File Explorer on Windows 10 works for all selected files with your wscript, also when it is a Desktop file accessed through the dialogue. The problem I have is when the user selects a file _directly_ visible on the

Drag-and-Drop with Desktop Files

2019-03-14 Thread R.H. via use-livecode
I am referring to: Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh Regarding MacOS I can not say much, but I use Windows, and IT WORKS. 'hh ' = Hermann's contribution, right? This fantastic. I never expected anybody to have a solution. I had searched Git and whatever. Well, first

Re: Drag-and-Drop with Desktop Files

2019-03-13 Thread hh via use-livecode
** Get selected files of the file manager (without user interaction like dragDrop) ** (I write the following such that also beginners can read it.) +++ [a] Solution for MacOS (tested to work on MacOS 10.14): (a1) Put the following in a field "myScript". # Full path of

Drag-and-Drop with Desktop Files

2019-03-13 Thread R.H. via use-livecode
Jacqueline: on dragDrop -- check for file paths get the dragData["files"]... pass dragDrop end dragDrop Jacqueline, thank you. I know this and wrote about it. Here I want to know the filename and path which is user-selected in the OS (on Windows File Explorer) without dragging

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
I think he was trying to get the OS to tell him which files were hilited by the user without having to drag and drop. At least that is what I got from the post. Bob S > On Mar 12, 2019, at 11:17 , J. Landman Gay via use-livecode > wrote: > > See the entry for dragDrop in the dictionary.

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread J. Landman Gay via use-livecode
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

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
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 > wrote: > > Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest >

Drag-and-Drop with Desktop Files

2019-03-08 Thread R.H. via use-livecode
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