0

我正在尝试为我的 Logitech 脚本实现更多功能,但我认为这在 Logitechs LUA 界面中是不可能的。我考虑过使用 C++/Python,但我不知道如何从 LUA 脚本中获取任何数据/信息。我看到的唯一可能是通过“OutputDebugMessage()”函数,但我找不到任何关于如何在 C++/Python 代码中读取/拦截它的详细信息。这可能吗,还是我应该开始学习如何阅读其他程序的记忆?

这是罗技 LUA 参考 PDF:https ://drive.google.com/file/d/1kBK3EbWiYrhPt9MMXBBEeZECFDXaLAJD/view?usp=sharing

这是相关的“OutputDebugMessage()”函数参考:

-- OutputDebugMessage() will send log messages to the Windows debugger.
-- OutputDebugMessage("Message");
-- Parameters
--     Message
--         Printf style, formatted string containing the message.
-- Return Values
--     nil
-- Remarks
--     Mirror of string.format().
--     You must manually insert a carriage return "\n" to denote end of line.
--     Use tools like Dbg View for viewing these messages.

-- Example
-- Send out "Hello World"
OutputDebugMessage("Hello World\n")
4

0 回答 0