I want to get some text from a web component. I tried once but I got an error “Segment: Start is less than 1 (0)”.
I know this exists but it was not solved and was closed as well.
I would not want to show my blocks but my blocks are the same as these but I use different code
Can I fix it?
Thanks a lot!
1 Like
I searched a lot but I did not find anything in the community. Even Booban’s solution didn’t work
I wanted to get the first number in that’s big font
Avijit
(Avijit Das)
October 11, 2021, 10:12am
#7
TechRead_Official:
I used this
I think I can do it. Let’s me try after lunch.
1 Like
That’s a lot!!! I can’t believe you actually did that.
Can you give me a .aia so I could try it out?
Thanks a lot!
dora_paz
(Dora)
October 11, 2021, 2:07pm
#10
No need for aia, blocks are draggable. Download them and drag them in creator
2 Likes
It isn’t working. My workspace becomes green but no blocks to be seen. I am using Firefox and I am on Linux
It works! I did not know that
dora_paz
(Dora)
October 11, 2021, 2:31pm
#15
Feature was introduced in 2019 It only works with individual blocks and procedures if you download them as png.
1 Like
Avijit
(Avijit Das)
October 14, 2021, 5:59am
#17
I am sorry. I think in my block has 2 extra lines. I will remove it after some time. Thank you
rather than this long code you can use JavaScript to get the current pm2.5 level
document.getElementsByClassName("IZ6rdc")[0].textContent;
2 Likes
It works! And it’s smaller!