At 09:31 -0500 1/10/08, Dan Neville wrote:
>I am writing an application in Perl and compiling it in CamelBones. I want to 
>make it a Drag&Drop.  I can't get the pasteboard to pass the file or folder 
>information to the script.  Does anyone have an example I could use as a 
>template?

If all of Sherm's X-code stuff confuses your brain there is an AppleScript 
solution that doesn't make you learn the details of AppleScript. There is an 
example, with source, in:

<ftp://ftp.macnauchtan.com/Software/LineEnds/FixEndsFolder.sit>

It's actually some C drivel that changes line ends in text files but it could 
just as well have been a perl executable with a #! line at the top. It might 
now work properly for an application that is running when the drag occurs.

-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

Reply via email to