Get YouTube video id

26 views
Skip to first unread message

abin mn

unread,
May 5, 2017, 11:11:37 AM5/5/17
to Automate
I am working on a flow related to YouTube. I want to get the video id of the currently playing video in the YouTube app. Is there any way?

Henrik "The Developer" Lindqvist

unread,
May 5, 2017, 6:42:23 PM5/5/17
to Automate
Very unlikely, since it doesn't even seem to be displayed anywhere in the YouTube app.

abin mn

unread,
May 6, 2017, 12:48:27 AM5/6/17
to Automate
Ok, I will use the copy link to clipboard and clipboard get block.

Adrien Carlyle

unread,
May 8, 2017, 6:21:30 PM5/8/17
to Automate
How could you grab text displayed on screen in an app? Does it need to be a text field?

Henrik "The Developer" Lindqvist

unread,
May 8, 2017, 6:28:26 PM5/8/17
to Automate
Using the Interact block with action Inspect. Any kind of field will do, just as long as it has an UI element ID, so it can be identified.

Adrien Carlyle

unread,
May 8, 2017, 10:11:56 PM5/8/17
to Automate
Thanks,  I was able to make some headway here.  I ended up having to use "adb shell uiautomator dump" to hunt down the ID I wanted to use. 
Reply all
Reply to author
Forward
0 new messages