Re: CamelBones...

[email protected] (Doug McNutt)
Newsgroups perl.macosx
Message-ID <p05100305c3ac2cd31d3f@[192.168.1.14]>
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. <--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.