Wireshark mailing list archives

Re: Can I hook menu/GUI functions with LUA?


From: Tony Trinh <tony19 () gmail com>
Date: Sun, 8 Jul 2012 02:26:00 -0400

Actually, my answer assumes you were asking if you can use WSLua to invoke
an existing menu (e.g., open the dialog from "Statistics > Conversations").

Is this assumption correct? What exactly are you trying to accomplish?


On Sun, Jul 8, 2012 at 2:22 AM, Tony Trinh <tony19 () gmail com> wrote:

No, WSLua API won't help you there. It might be possible to use a
3rd-party Lua library via WSLua to do something gross like send
menu-navigating key-presses (or window messages) to the Wireshark window,
but it's probably easier to implement a WSLua binding for this (file an
enhancement request at http://bugs.wireshark.org).



On Sun, Jul 8, 2012 at 2:06 AM, Richard Sharpe <
realrichardsharpe () gmail com> wrote:

Hi folks,

Can I use LUA to hook various menu functions, rather than add new menu
items?

--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: