Started by DarkLordALex, Mar 30, 2019, 06:47 pm
Quote from: Dog on Mar 31, 2019, 02:10 amFirst of all, what is the problem? What does the program actually do? Does it produce an error? If so, what is that error?FWIW, I see two things at a quick glance.1. The script is trying to wrap "monitor_169" - is that the monitor you're actually trying to use?2. The script is using setTextSize(5) on a monitor, which won't work - the correct command is setTextScale(5)
Quote from: Dog on Mar 31, 2019, 04:00 pmOK, the only difference I see between the code you posted and the original code is a single change...In the function getTimeStamp(), the first line (the http request) has a semi-colon added near the end of the line in your version - remove that semi-colon and the code should work. Based on that, I would guess that your code with the monitor would also start working if you removed the semi-colon and changed setTextSize() to setTextScale().