drag and drop a file over a mac application

Hi Robin,

I got it working with wxpython **2.8.4.0 on mac… ** now i was wondering if there a way to make MacOpenfile to accept multiple files…

if I drag and drop multiple file its two seperate call…

cheers

Thomas

Thomas Thomas wrote:

Hi Robin,
I got it working with wxpython *2.8.4.0 on mac.. * now i was wondering if there a way to make MacOpenfile to accept multiple files..
if I drag and drop multiple file its two seperate call...

I don't know but my guess is that this is just how the standard AppleEvents work. I suppose you could set a short timer when you get the first one, and reset it each time you get another call to MacOpenFile, and then wait to handle all files when the timer expires.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!