Re: need to send msg from a script to YMsg, AIM

"John B. Silvestri" <[email protected]> Sun, 28 Dec 2003 13:41:23 -0500
Newsgroups gmane.comp.gnome.gaim.devel,gmane.network.everybuddy.user
Message-ID <[email protected]>
On Sun, Dec 28, 2003 at 12:17:31PM -0600, nick wrote:
> 
> Hi,
> 
> I am trying to find a way to send a message to an yahoo messenger user, 
> but from within a script. Ideally, from a Perl script, but could also 
> handle some C programming (although i do not have a compiler on windows).

Well, it's not perfect at the moment - but I think my extensions to
gaim-remote (which are still under development, and need more proper
coding) might help you out here:
http://knuth.mville.edu/~john/gaim/gaim-remote/
The patch is question would be "g-r_14dec03.diff", and it will let you
send messages from a shell script.  The usage of the command would be:
gaim-remote send --from=YourScreenName --to=DestinationSN \
	--protocol=prpl-yahoo --message="Hello World!"

I hope this is of some use to you.

Cheers,
John


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click