Win32::Skype uses Win32::OLE, though no event listening code has been written, it would look like yours (WithEvents ...)

SkypeApi interfaces using c/xs, and has register_handler/listen, which the documentation says are used to listen/respond to events.

So both could work, like your code, but all require that you reference the skype4com documentation.

See http://developer.skype.com/accessories, Skype4COM Event Handler Example for ALL Skype API Messages

See also all of these, they can all help with automation, so you might as well get them all now :)
WinSpy
OLESPY
Win32::OLE - Type Library Browser
http://www.microsoft.com/com/
OLE/COM Object Viewer (oleview.exe)
Scriptomatic 2.0
#develop

In reply to Re^3: Skype4COM capturing events by Anonymous Monk
in thread Skype4COM capturing events by maximus-asoi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.