From: Mel Bohince Date: 2005-04-28T21:56:44+09:00 Subject: Re: OSX drag and drop with ruby? 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. > >