Jump to content

I downloaded the raw and ran the "SECOND KEYBOARD script for LUA MACROS" to get my second keyboard working as a macro keyboard and keep getting this error when trying to run:

 

 [LUA] ERROR: Cannot load buffer.
    [string "LuaMacros script"]:95: '}' expected (to close '{' at line 43) near '['

 

 

Has anyone solved this?

Link to comment
https://linustechtips.com/topic/893214-problem-with-luamacros-script/
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I have downloaded the raw as a text file and am having the same issue. i even just copied the text and pasted it into luamacros and still come up with the same error 

 

 [LUA] ERROR: Cannot load buffer.
    [string "LuaMacros script"]:96: '}' expected (to close '{' at line 43) near '['

Link to post
Share on other sites

On 2/4/2018 at 12:58 PM, smodis said:

I downloaded the raw and ran the "SECOND KEYBOARD script for LUA MACROS" to get my second keyboard working as a macro keyboard and keep getting this error when trying to run:

 

 [LUA] ERROR: Cannot load buffer.
    [string "LuaMacros script"]:95: '}' expected (to close '{' at line 43) near '['

 

 

Has anyone solved this?

I found the solution there is a ,(comma) missing in the line just before. it should look like this 

 

  [108] = "numEnter", --sometimes this is different, check your keyboard
    [109] = "numMinus", 

 

on lines 95 and 96

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×