Read montage controls with python library for GUI automation pywinauto. Perform calculation in python and return desired value of StopDistance. Put the value back into montage and send the order using ...
This tutorial explains how to download private or ratelimited (Sign in to confirm you're not a bot) videos & playlists, or rather: videos you need to be logged in for. I can't guarantee this will work ...