I dunno, I suppose I just prefer a skin to be self contained. Obviously not the case here anyway what with the font, INC file and all those skin files for the different categories, so I'll make an exception!
Haven't had a chance to try it out yet, maybe over the weekend...
It is currently April 27th, 2024, 5:03 am
Click to copy text?
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Click to copy text?
Works perfectly! Thank you very muchdeath.crafter wrote: ↑September 3rd, 2021, 11:22 am To every problem, there is always a solution.
CopyIcon.luaCode: Select all
function SetClip(varName) SKIN:Bang('!SetClip', SKIN:GetVariable(varName)) end
Code: Select all
[Variables] IconN=[\xNinjaCat] [Clipboard] Measure=Script ScriptFile=#@#CopyIcon.lua [IconN] ... LeftMouseUpAction=[!CommandMeasure Clipboard "SetClip('#CURRENTSECTION#')"] ; Don't forget the single quotes!
- MuLab -