diff --git a/Modules/Locals-Upload.ahk b/Modules/Locals-Upload.ahk index 56eebff..5b33c6d 100644 --- a/Modules/Locals-Upload.ahk +++ b/Modules/Locals-Upload.ahk @@ -100,6 +100,14 @@ Loop, 5 { sleep, 2000 } +; click the "Hide Links Preview" checkbox to hide previews of hyperlinks +if(InStr(VideoDescription, "https")){ + Xpath = (//div[@class='hide-switcher-container'])[1] + Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=1,SleepLength:=100) + +} + + ; SaveOrPostProgress(Message:="Waiting Video to finish uploading",PostType:="Tooltip,ErrorLoggingTextFile") Message = Uploading Video File SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")