unifiedremote / Docs

Official API documentation.
149 stars 33 forks source link

Question | Is it possible to add conditional logic/loops (IF/FOR) to actions? #32

Closed Gamartto closed 3 years ago

Gamartto commented 3 years ago

Hi, I'm pretty new to unified remote and I've been doing some small tests based on the examples but I would like know if it is possible to enhance actions by adding logic based on the output or state of a variable/keypress/events. If so, How?

Thanks.

Gamartto commented 3 years ago

Upon further research a lot of stuff can be done to make things more robust https://www.tutorialspoint.com/lua/lua_variables.htm

The many stock controls are good to know how some things work.

pqvst commented 3 years ago

I would also recommend having a look at the existing remotes for inspiration/guidance. https://github.com/unifiedremote/Remotes