From: tsuraan Date: 2005-04-28T22:57:56+09:00 Subject: Re: OSX drag and drop with ruby? I'm not sure what that means, but I'll ask google :) It sounds interesting, anyhow. Thanks! --jay PS, sorry for hijacking the comments thread. I guess I can't just hit reply and change the subject to make a new thread. Sorry again. On Apr 28, 2005, at 7:56 AM, Mel Bohince wrote: > tsuraan, > > You could use an AppleScript with an open handler, saved as a droplet, > to pass the handle(s) of the droppee's to ruby with "do shell script". > > > -: -: -: -: -: -: -: -: \|/ > -: -: -: -: -: -: -: -: cU > mlb 412/373.8355 > > > On Apr 27, 2005, at 9:30 PM, tsuraan wrote: > >> I'm wondering if there's a global variable or something that can tell >> if a ruby script was started by having a file dropped on its icon in >> the finder. I'm not even sure if drag and drop is the right term >> here, since I'm not actually planning on having a GUI; I just want a >> path to a file to operate upon. >> >> > >