Search found 14 matches
- 08 Oct 2018, 04:37
- Forum: General
- Topic: luamacros - accented characters
- Replies: 3
- Views: 6081
Re: luamacros - accented characters
Sorry about that I have not with an Italian keyboard so I cannot test. Maybe you check the keycode directly and send it. The following post has the program in testing your pressed key's code. http://www.hidmacros.eu/forum/viewtopic.php?f=3&t=601 lmc_send_keys("^+"..string.char(65), 50) The above cod...
- 08 Oct 2018, 04:13
- Forum: Support - bugs
- Topic: Launching App with Arguments? (LuaMacros)
- Replies: 2
- Views: 4961
Re: Launching App with Arguments? (LuaMacros)
You may try this. program = "C:\Users\misled\AppData\Local\Discord\Update.exe" command = "--processStart" arg = "Discord.exe" c = program.." \""..command.."\" \""..arg lmc_spawn(c) I have shared the explanation in: http://www.hidmacros.eu/forum/viewtopic.php?f=3&t=595&sid=9e34a92edfeebd84a2c1eec869e...
- 05 Oct 2018, 03:11
- Forum: General
- Topic: luamacros - accented characters
- Replies: 3
- Views: 6081
Re: luamacros - accented characters
You may have a look at the post of:
viewtopic.php?f=6&t=631&sid=e5d18c7988e ... aacbece7f0
and the code you need maybe 151.
https://theasciicode.com.ar/ascii-print ... de-81.html
viewtopic.php?f=6&t=631&sid=e5d18c7988e ... aacbece7f0
and the code you need maybe 151.
https://theasciicode.com.ar/ascii-print ... de-81.html
- 05 Oct 2018, 02:45
- Forum: General
- Topic: button combination
- Replies: 9
- Views: 13886
Re: button combination
For the key combination, I find a nice wrapper for Luamacros by PotentiumRLX. https://www.youtube.com/watch?v=LsHhLZXrQsI ["81, 87, 69"] = function() print("This is a test to show that LuaMacros works with key combinations."); end; The combination of the buttons can be implemented by an array of "["...
- 05 Oct 2018, 02:35
- Forum: Feature requests
- Topic: Require for "Require" Support
- Replies: 3
- Views: 7256
Re: Require for "Require" Support
Finally, I find an imperfect solution for the inclusion of the external library. Due to the absence of the return from lmc_spawn(). I would use the io.popen() as the channel in getting the return value. For instance, function getClipboard() program = pythonw_path command = program_path .. "GetClipbo...
- 02 Oct 2018, 14:57
- Forum: Feature requests
- Topic: Require for "Require" Support
- Replies: 3
- Views: 7256
Re: Require for "Require" Support
Thanks for you reply!
- 01 Oct 2018, 23:59
- Forum: General
- Topic: The physical key presses are blocked, on most of the games?
- Replies: 3
- Views: 5622
Re: The physical key presses are blocked, on most of the games?
I can not represent the comment and standpoint of admin but my personal opinion. Actually, no interceptor is perfect because any program (including games) can specify the IME (input method). For example, both hidmacros and luamacros fail if the program switches to the Chinese input method in my mach...
- 01 Oct 2018, 06:03
- Forum: Feature requests
- Topic: Require for "Require" Support
- Replies: 3
- Views: 7256
Require for "Require" Support
I have tried to use the command of "require" in Luamacros so as to extend the function, but get the error: 2018-10-01 13:01:18:883 [LUA] ERROR: Runtime error error loading module 'winapi' from file 'C:\Users\WingKin\Dropbox\Small Tools\luamacros\winapi.dll': ?䤣???w?ҲաC I think LuaMacros is respondin...
- 24 Sep 2018, 10:50
- Forum: General
- Topic: Share of some tricks (Passing Parameter & Handle Titles with non-English Words)
- Replies: 5
- Views: 12076
Re: Share of some tricks (Passing Parameter & Handle Titles with non-English Words)
Finally, I find a solution to the support for multiple parameters. c = program.." \""..arg1.."\" \""..arg2.."\" \""..arg3 lmc_spawn(c) In fact, lmc_spawn adds an additional " after the .exe extension, so the additional " should before the first argument. The following is my code for demonstration. A...
- 13 Feb 2018, 00:54
- Forum: HOW-TOs and documentation
- Topic: Just Shift or Ctrl
- Replies: 12
- Views: 17355
Re: Just Shift or Ctrl
Actually, you can write some scripts on other platforms, i.e. python, perl or NodeJs, so as to perform the related function, while using LuaMarcos to call the script. For instance, in "shift.py", write the following two lines import pyautogui pyautogui.press('shift') Then, you can call it from LuaMa...