error when trying to open program

Announcements, questions
Post Reply
alonh
Posts: 3
Joined: 15 Feb 2021, 07:16

error when trying to open program

Post by alonh » 16 Feb 2021, 07:27

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?

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: error when trying to open program

Post by admin » 17 Feb 2021, 08:40

Strange, I'll check myself and see if it works for me...
Petr Medek
LUAmacros author

Post Reply