Search found 14 matches

by luiwingkin
08 Oct 2018, 04:37
Forum: General
Topic: luamacros - accented characters
Replies: 3
Views: 4088

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...
by luiwingkin
08 Oct 2018, 04:13
Forum: Support - bugs
Topic: Launching App with Arguments? (LuaMacros)
Replies: 2
Views: 3444

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...
by luiwingkin
05 Oct 2018, 02:45
Forum: General
Topic: button combination
Replies: 9
Views: 10304

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 "["...
by luiwingkin
05 Oct 2018, 02:35
Forum: Feature requests
Topic: Require for "Require" Support
Replies: 3
Views: 5453

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...
by luiwingkin
02 Oct 2018, 14:57
Forum: Feature requests
Topic: Require for "Require" Support
Replies: 3
Views: 5453

Re: Require for "Require" Support

Thanks for you reply!
by luiwingkin
01 Oct 2018, 23:59
Forum: General
Topic: The physical key presses are blocked, on most of the games?
Replies: 3
Views: 3997

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...
by luiwingkin
01 Oct 2018, 06:03
Forum: Feature requests
Topic: Require for "Require" Support
Replies: 3
Views: 5453

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...
by luiwingkin
24 Sep 2018, 10:50
Forum: General
Topic: Share of some tricks (Passing Parameter & Handle Titles with non-English Words)
Replies: 5
Views: 10310

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...
by luiwingkin
13 Feb 2018, 00:54
Forum: HOW-TOs and documentation
Topic: Just Shift or Ctrl
Replies: 12
Views: 12614

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...