You are not logged in.
this might sound like a weird question, but is there any way to pipe a file into a pidgin conversation? for example:
cat foo > pidgin.users.xthen the contents of the file would show up in the text input field.
Offline
You can always pipe it into xclip, then paste it into your pidgin window.
Use |, though, not > (which is for file redirection).
Offline
It can be done via dbus if you want to make a script for it. The PurpleConvImSend method will send the message to the recipiant without confirming it first, PurpleConvSendConfirm will send the message to the edit box for you to confirm/edit/whatever.
Probably also possible via piping with the `purple-remote` app, but I've never really looked at.
Offline
If you want file redirection you could probably make a simple python fuse filesystem, and use dbus to communicate with pidgin
actually sounds like a handy little script
Edit: I would actually have a go at coding it if I was using Linux, shouldn't be too difficult really
Last edited by HashBox (2009-11-11 20:39:55)
Offline
There is a pidgin plugin that comes with the purple plugins pack which allows you to do just that. It is the exec extension, and it allows you to use /exec and ! to run shell commands in the chat window.
With !, you can do '!cat file' in your conversation and it will spit out the file's contents to your contact. ![]()
Last edited by Square (2009-11-11 20:48:48)
Offline
The exec plugin is probably the simplest way. I use it often
[git] | [AURpkgs] | [arch-games]
Offline