I'm writing a notification script for Skype event notifications. (As far as I know, that feature is Linux-only; go to "Options", "Notifications", select an event and fill in "Execute the following script".)
For incoming chat messages, I can get all the information I need with:
my-script.sh "%sname" "%smessage"
That is, %sname
is substituted with the name of the sender and %smessage
with the message text.
But for outgoing chat messages, %sname
contains my name. I want to get the recipient's name somehow, but my Google skills have failed me so far. Is there another variable for that? (Or any documentation from Skype of this feature?)