Page 1 of 1

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

Posted: December 8th, 2012, 5:51 am
by comic3344

Code: Select all

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

Thank you ~~~~ :-(

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

Posted: December 8th, 2012, 9:38 am
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.