Page 1 of 1

error when trying to open program

Posted: 16 Feb 2021, 07:27
by alonh
Hi,
I've been tinkering with luemacros for a couple of weeks now and I love it
I've encountered a problem, when I try to open the Windows SnippingTool I get an error
the code before and after works fine:

Code: Select all

elseif (button == 101) then lmc_spawn("C:\\Windows\\System32\\SnippingTool.exe")
return an error:

Code: Select all

2021-02-16 08:19:53:943 [LUA] ERROR: Exception in LUA code: Failed to execute  : 2
I've tried to open other programs from the same path and all works beside this one
Can you help please?

Re: error when trying to open program

Posted: 17 Feb 2021, 08:40
by admin
Strange, I'll check myself and see if it works for me...