script.toolbox icon indicating copy to clipboard operation
script.toolbox copied to clipboard

just a question...

Open fastcolors opened this issue 11 years ago • 5 comments

would it be possible for dialog textviewer to call in a text file from outside ? not a label either or from the language, I'm talking about a foo.txt placed somewhere.

RunScript(script.toolbox,info=textviewer,header=SOME_HEADER,textFILE=special://skin/resources/foo.txt)

fastcolors avatar Nov 14 '14 12:11 fastcolors

would be possible but i don´t really see a use case since all labels should be able to get translated.

phil65 avatar Nov 14 '14 18:11 phil65

pulling in news or show changelog on first run after update. changelog is never translated, nor it will be. And sometimes i'd like to tell the users about new features added to my skin. but it would be easier to pull the changelog from the .txt file included, instead of having to add the whole thing twice.

and I wanted to also add some stuff like "hits and tips" that can change and be pulled from a .txt file from the net.

if you could just point me in the direction to make it happen, I can try and do it myself...

something along the lines of rss feeds... they're not translated either but use case is pretty clear.

cheers! and thanks for your answer.

fastcolors avatar Nov 15 '14 02:11 fastcolors

ok, sounds reasonable. will implement it when i find some time.

phil65 avatar Nov 15 '14 04:11 phil65

sweet! thanks!

fastcolors avatar Nov 15 '14 22:11 fastcolors

btw this looks so good. I'm looking at the code ad where it's going. great great work.

fastcolors avatar Nov 16 '14 00:11 fastcolors