Okay, I have changed the proc HandleFileDrop and added text drag'n'drop (when text is dropped to the window, it is added at the end of the input conversation)
I have uploaded it here: http://chrystalyst.free.fr/draganddrop/dragndrop-0.1.2.zip I've included tkdnd.so which I found in the rpm provided by the author of tkdnd library I don't know if my modifications work cause I can't testing it on Linux Concerning autoupdate integration, I took a look to the plugin's guide in amsn wiki and I didn't understand how to do this. Sorry MeV Selon Vivia Nikolaidou <[EMAIL PROTECTED]>: > > This almost works :) Congratulations MeV! > > I got it to work on Linux, but there are three issues: > > 1) the .so for Linux is missing, but I compiled tkdnd and copied the .so > myself and it works ;) > > 2) The proc HandleFileDrop has to be changed: > > proc HandleFileDrop {window data} { > global tcl_platform > #Send the name of the file to the ::amsn::FileTransferSend proc ($data is > like this "{filename}") > if {$tcl_platform(platform) == "windows"} { > ::amsn::FileTransferSend $window [string range $data 1 [expr > [string length $data] - 2]] > } else { > ::amsn::FileTransferSend $window [string range $data 5 [expr > [string length $data] - 1]] > } > > > } > > As some of you know, I fried my Windows partition some time ago so I can > only test the Linux part :) but like this it just worked! :) > > 3) It has problems with special characters... > > Congratulations again and Thank You ! :) > > If it is OK to include the .so , a first version of the plugin is almost > ready! :) > > IMPORTANT: add autoupdate possibility to the plugin before we release it, > to avoid Desktop_Integration-like issues... (Sorry, I did too much at 2am > already!) > > Vivia > > On Thu, 2 Feb 2006 [EMAIL PROTECTED] wrote: > > > Hello, > > > > I have writed a plugin for sending files dropped in a aMSN conversation > window > > (in the input text more precisely) > > > > It should works on Windows and all UNIX based OS but not Mac OS because it > uses > > a library called tkdnd > > (http://www.iit.demokritos.gr/~petasis/Tcl/tkDND/tkDND.html) which is not > > develloped for MAC OS > > I didn't have tested my plugin on Linux because I don't have it installed > in my > > computer for now. But it works fine on Windows XP. > > > > I don't know which version of aMSN is required but I have tested it with > aMSN > > 0.95. > > > > You will find the zip file containing the plugin here : > > http://chrystalyst.free.fr/dragndrop.zip > > so it could be tested (sorry but I submit my plugin on the website before > > sending this mail here, I didn't think to send this here before) > > > > Please, add me in CC if your respond to this mail because I don't have > suscribed > > to the amsn-devel mailing list > > > > Regards > > MeV > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > > Amsn-devel mailing list > > Amsn-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/amsn-devel > > > > > --- > > "Where is the life that we have lost in living? > Where is the wisdom that we have lost in knowledge? > Where is the knowledge that we have lost in information?" > > OEO; > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel