From b1a7fb33268da082bb5cc4b3cb9eb33d62d9f1db Mon Sep 17 00:00:00 2001 From: yuriy Date: Sun, 17 Nov 2024 17:01:57 -0500 Subject: [PATCH] Merged Notify Users checkbox selection --- Modules/Locals-Upload.ahk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Locals-Upload.ahk b/Modules/Locals-Upload.ahk index 8c62ffd..342e95a 100644 --- a/Modules/Locals-Upload.ahk +++ b/Modules/Locals-Upload.ahk @@ -127,6 +127,8 @@ ClickXpath = //input[@name='is_do_promo']//parent::* try, Status := driver.findelementbyxpath(Xpath).isSelected() if(Status = 0){ Status := Selenium_LoopToClickXpath(Xpath:=ClickXpath,NumOfLoops:=1,SleepLength:=1000) + + ; Check Again if the checkbox is checked ON (-1) try, Status := driver.findelementbyxpath(Xpath).isSelected() if(Status = "0"){ Message = Failed to Check ON the Notify Users Checkbox @@ -134,6 +136,8 @@ if(Status = 0){ } } +DevModeMsgBox("notify user option checked?") + ; check if the "Auto Submit Post" checkbox is checked, and if not check it js = return document.querySelector("#autosubmit_enabled").checked; try AutoSubmitstatus := driver.executeScript(js)