It is currently March 28th, 2024, 10:16 am

how to use a skin button to execute a function of script?

Discuss the use of Lua in Script measures.
Post Reply
comic3344
Posts: 13
Joined: November 13th, 2012, 4:17 am

how to use a skin button to execute a function of script?

Post by comic3344 »

Code: Select all

LeftMouseUpAction=!Execute [""]
how to complete the last code?

Thank you ~~~~ :-(
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: how to use a skin button to execute a function of script

Post by MerlinTheRed »

If you have a script measure, you can actually run any Lua code directly from the skin. This includes, but is not limited to calling a function. See here for an explanation. Also, you don't need !Execute any more if you have the newest version of Rainmeter installed. Just omit it and it will still work fine.
Post Reply