Release script.embuary.helper - a skin helper service / widgets alternative
That will mean double lines of code for both conditions... right?. Can we avoid that?

On another issue with this... if i run the script call from window and i want to close the window before the select dialog appears the script it's not running at all.
I've place the <onclick> close action after the script call and again the script it's running. Also i use your settimer function and still it's not running.
Any idea why?. The script.helper.service was working fine in that case.

xml:
<item id="15">
    <label>$LOCALIZE[31380]</label>
    <icon>icons/big/Media.png</icon>
    <onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31370])</onclick>
    <onclick>SetProperty(Dialog.1.BuiltIn,UpdateLibrary(video))</onclick>
    <onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31372])</onclick>
    <onclick>SetProperty(Dialog.2.BuiltIn,CleanLibrary(video))</onclick>
    <onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31371])</onclick>
    <onclick>SetProperty(Dialog.3.BuiltIn,UpdateLibrary(Music))</onclick>
    <onclick>SetProperty(Dialog.4.Label,$LOCALIZE[31373])</onclick>
    <onclick>SetProperty(Dialog.4.BuiltIn,CleanLibrary(Music))</onclick>
    <onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[31380])</onclick>
    <onclick>Dialog.Close(PlayerControls)</onclick>
    <visible>[System.HasAddon(script.embuary.helper) + [Library.HasContent(Movies) | Library.HasContent(TVShows) | Library.HasContent(MusicVideos) | Library.HasContent(Music)]] + !Skin.HasSetting(UpdateLibrariesButton)</visible>
</item>
Reply


Messages In This Thread
RE: script.embuary.helper - a skin helper service / widgets alternative - by nessus - 2019-11-01, 21:00
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3