Page 1 of 1

html in "View script log" window

Posted: June 17th, 2015, 3:44 am
by Eelisland
Hello,

Is it possible to add html support in the "View script log" window, i want to echo web page link and poster from The Movie DB ? It can look nice if we where able to echo also in the main window a little picture thumbnail from the file if found on an api site :)

Image

Thanks.

Re: html in "View script log" window

Posted: June 18th, 2015, 7:20 pm
by shypike
Maybe, I'll look into it.

Re: html in "View script log" window

Posted: June 19th, 2015, 5:11 am
by jcfp
The current output looks like text-only because it's inside <pre></pre>. You may be able to use html by simply having your script start by outputting an </pre> followed by html of your choice (and reopening that <pre> at the very end to keep the syntax of the page correct). Untested but worth the try....

Re: html in "View script log" window

Posted: June 19th, 2015, 5:38 am
by Eelisland
Hello Shypike,

Thank for your feedback.


jcfp,

Thanks for the tip, in my screenshot it's only bash echo, but i'll try in a few days with closing pre and ré opening at the end :)