[Vm-dev] URL drop events on MacOS

John M McIntosh johnmci at smalltalkconsulting.com
Tue Jan 5 05:42:58 UTC 2021


When we did Sophie we just passed every reference to an asset as a URL so a file: or a url: or a memoryFile: which was very handy to push a blob of data as a file or zip entity. The concrete class for streaming the URL would do the right thing.

Sent from ProtonMail Mobile

On Mon, Jan 4, 2021 at 20:01, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> Hi All,
>
> I'm plumbing in support for launching the macos application via URL scheme drop events/apple events. I'm asking for review. I think the right way to go is to piggy back off of EventTypeDragDropFiles rather than add another kind of event. If so there's a fork in the road. Either use SQDragDrop (see sq.h) and dropRequestFileName and have dropRequestFileName answer a name prefixed with 'url:', or add e.g. SQDropUrl and add primitiveDropRequestURL/dropRequestURL to the DropPlugin. Opinions?
> _,,,^..^,,,_
> best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210105/8294e2a6/attachment.html>


More information about the Vm-dev mailing list