From d35e5db4ab1184d49a09091142786cc9e9609c52 Mon Sep 17 00:00:00 2001 From: yuriy Date: Fri, 28 Jul 2023 21:13:32 -0400 Subject: [PATCH] fixed mewe posting, gettr submit not working, added extra info to GUI --- Freedomain Social Media Poster.ahk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Freedomain Social Media Poster.ahk b/Freedomain Social Media Poster.ahk index d2a2398..6b90002 100644 --- a/Freedomain Social Media Poster.ahk +++ b/Freedomain Social Media Poster.ahk @@ -414,9 +414,11 @@ Gui, Add, Edit, x%MarginSpace% y+2 w%EditBoxWidth% h150 vPostBody gUpdateCharCou Gui, Font, s%GUINormalFontSize% Gui, Font, Bold Gui, Add, Text, x%marginspace% y+%MarginSpace% w%EditBoxWidth% ,Tags - Gui, Font, s7 Gui, Font, Normal +Gui, Add, Text, x65 yp+7, (Required by Steemit, Bastyon, ) + + ; Gui, font, color, cRed Gui, Add, Edit,yp-5 x%CharCountXPos% w30 vCharCount, @@ -3223,7 +3225,7 @@ sleep, 2000 ; Click post button Xpath = //span[normalize-space()='Post'] -Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000) +Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=10,SleepLength:=1000) if(Status){ Message = Failed to Submit Post SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorSummaryVar") @@ -3276,9 +3278,9 @@ try driver.FindElementByXPath(Xpath).click() sleep, 1000 ; Click on Tell your contacts what's happening button -SaveOrPostProgress(Message:="Clicking into Tell your Contacts.. Box",PostType:="Tooltip,ErrorLoggingTextFile") +SaveOrPostProgress(Message:="Clicking into Start Post Box",PostType:="Tooltip,ErrorLoggingTextFile") -Xpath = //div[@class='postbox-placeholder_text'] +Xpath = //div[@data-testid='post-placeholder'] Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000) if(Status){ SaveOrPostProgress(Message:="Post Failed: Check Login Status",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")