I'm blocked for creating "newpipe" macros (RESOLVED)

vm53

Member
Hi everyone, I still need your help.
I'm creating this macro, so that when I receive a YouTube video link, it automatically opens the newpipe app.
I got to the point where it finds the link id (viewid variable) but I don't understand how to extrapolate it from the dictionary and enter it via variable in the final intent.
In addition to the usefulness of this macro, I need it to learn how to extrapolate the string from the dictionary.
P.s. I've been testing for 24 hours :(
In case I wasn't clear, I attach the macro and the screenshot.
Thanks to anyone who can help me!
 

Attachments

  • Tubo.macro
    10.4 KB · Views: 1
  • Tubo.png
    Tubo.png
    199.4 KB · Views: 15

Jacob L

Moderator (Lawsonator)
You may need to have a read screen action first which saves the screen content to an array. Then you'll need to iterate over the array until you hit the link.
 

vm53

Member
You may need to have a read screen action first which saves the screen content to an array. Then you'll need to iterate over the array until you hit the link.
Thanks for replying, but the screen reading action, as per the screenshot, is already inserted as you can see, I already have the results visible by hand, but I don't know how to automate.
I probably didn't quite understand what you meant to advise me, can you help me a little more, perhaps with an example or by trying my macro?
A thousand thanks!
 

Jacob L

Moderator (Lawsonator)
Try this:
Youll need to add the actions you want it to perform but I've put a comment
 

Attachments

  • NewPipe.macro
    8.8 KB · Views: 4

vm53

Member
Try this:
Youll need to add the actions you want it to perform but I've put a comment
I am immensely grateful to you!
It was exactly what I wanted to achieve and also thanks to your help, I realized that my approach was totally wrong.
I will draw lessons for other macros, regarding your instructions.
Thank you again
 
Top