How to send key: (

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
LazyProgrammer
Posts: 1
Joined: 12 Aug 2019, 23:20

How to send key: (

Post by LazyProgrammer » 12 Aug 2019, 23:23

This is my script:

if (button == 111) then lmc_send_keys('var_dump(')

It works, except it doesn't send (

I tried to escape with \
But that didn't work. How do I do this?

Thanks.

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

Re: How to send key: (

Post by admin » 13 Aug 2019, 07:54

You can't with lmc_send_keys - escaping is not supported for now.
As a workaround you can use lmc_send_input
Petr Medek
LUAmacros author

Post Reply