Hi Blake.

You where right to look at the world itself for handling that drop event. 
However, it's not in the world's menu, but implemented on the world. Take a 
look at
lively.morphic.World>>#onHTML5Drop in the module lively.morphic.Event.js with 
the System Code Browser (which is in the Tools category of the world menu).
There you'll see where the FileUploader>>handleDroppedFiles comes into play.

Best,
Lauritz

On Feb 1, 2012, at 1:58 PM, Fabian Bornhofen wrote:

> Hi Blake -
> 
> here's a hint for the file uploads hook: core/lively/morphic/Events.js
> -> lively.FileUploader>>handleDroppedFiles might be what you're
> looking for.
> 
> Have fun!
> Fabian
> 
> On Wed, Feb 1, 2012 at 1:43 PM, blake <[email protected]> wrote:
>> So, a very cool thing about LK2 is that you can drop a file on a world
>> and will be uploaded.
>> 
>> I'd like to start my "serious" explorations by hooking into that
>> process. I want to be able to read dropped files and report back on
>> their contents. I'm thought I might be able to find something in the
>> world menu itself but no luck (so far).
>> 
>> Anyone got any pointers?
>> 
>> Also, is it possible to localize LK2? I'd like to have my own
>> installation; I do some stuff with data that's secure/sensitive. Don't
>> really want that going out to the universe in general. (I may have
>> asked this arleady; my apologies.)
>> 
>> ===Blake===
>> _______________________________________________
>> lively-kernel mailing list
>> [email protected]
>> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> _______________________________________________
> lively-kernel mailing list
> [email protected]
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

_______________________________________________
lively-kernel mailing list
[email protected]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

Reply via email to