btw, it works well if you pass nothing or less parameters as well, like follow:
function desktop_left()
nircmd("sendkeypress", "ctrl+lwin+left")
end
looks like nil parameters are ignored by lua and by the luamacros interpreter
Search found 3 matches
- 15 Dec 2017, 10:56
- Forum: Bug reports
- Topic: lmc_spawn cant run Nircmd with parameter
- Replies: 3
- Views: 6431
- 15 Dec 2017, 10:46
- Forum: Bug reports
- Topic: Some keys don't fire up
- Replies: 3
- Views: 4294
Some keys don't fire up
Hope this is the best way to ask it: My keyboard has a key to fire up a calc app and I want to remap it. Its vk code is: int: 183 hex: 0xB7 vk code description: VK_LAUNCH_APP2 It happens with that specific key code but could affect another ones like that And get me the following log: 2017-12-14 10:5...
- 15 Dec 2017, 10:42
- Forum: Bug reports
- Topic: lmc_spawn cant run Nircmd with parameter
- Replies: 3
- Views: 6431
Re: lmc_spawn cant run Nircmd with parameter
Try to pass multiple parameters like that: function nircmd(cmd, param1, param2, param3, param4) lmc_spawn("nircmd", cmd, param1, param2, param3, param4) end follow a example of how to call it: function tooltip(msg) nircmd("trayballoon", "LuaMacros", msg, "imageres.dll,76", 1) end Did you get it? lmc...